
The first lecture of the HTML5, CSS3 and JavaScript web designing course. Learn what HTML is, why it is a markup language rather than a programming language, what the DOCTYPE does, and the four tag pairs (html, head, title, body) that every HTML page is built on.
In this lecture you will learn:
Lecture 2 of the HTML5, CSS3 and JavaScript web designing course. Learn what HTML tags, elements, empty elements and attributes are, then create and save your first .html file in Notepad with DOCTYPE, html, head, title, body and p tags, and use the align attribute.
In this lecture you will learn:
Learn the most common HTML basic tags: paragraphs, line breaks, insert and delete, headings h1–h6, horizontal rule, bold, strong, italic, emphasized and underline. Each tag is explained on slides and then written live in Notepad and tested in Chrome, including a common missing-</b> mistake and how to fix it.
In this lecture you will learn:
Part 2 of HTML basic tags: the <small>, <code>, <sub>, <sup>, <q>, <blockquote>, <abbr> and <address> tags, each explained on slides and then practised live. You'll also install Notepad++, save your first Basic tags.html file and see why extra spaces collapse into one in the browser.
In this lecture you will learn:
Part 3 of HTML basic tags: the <s>, <center>, <font>, <pre>, <details>, <summary>, <img> and <a> tags, explained on slides and then built live in Notepad++ and tested in Google Chrome. You'll add color and size with font attributes, keep spaces with <pre>, make a click-to-open section, and insert an image and a link.
In this lecture you will learn:
This lecture introduces the new HTML5 tags with live Notepad++ demos. You'll see the semantic layout tags (header, footer, nav, aside, section), how <figure> and <figcaption> caption images, how <progress> and <meter> draw bars, and how <wbr> and <bdo> control line breaks and text direction.
In this lecture you will learn:
This lecture covers the three types of HTML lists: unordered (<ul>), ordered (<ol>) and description (<dl>) lists. You'll see the type attribute for bullets and numbering, the start attribute for ordered lists, and how <dt> and <dd> work, with live Notepad++ and Chrome demos.
In this lecture you will learn:
Learn how to build tables in HTML5. After a look at example tables and the table tags and attributes on slides, the lecture builds a table live in Notepad++ with <table>, <tr>, <th> and <td>, then adds border, width, cellpadding, cellspacing and bgcolor and merges cells with colspan and rowspan.
In this lecture you will learn:
Learn how to add audio and video to a web page with HTML5. This lecture covers both syntaxes for the <audio> and <video> tags, the <source> tag with src and type, and demonstrates controls, loop, muted, width/height and autoplay live in Notepad++ and Chrome.
In this lecture you will learn:
Build a complete HTML form step by step: text, password, email, date, time, tel, radio, checkbox, select, textarea, submit and reset. You'll also add placeholder, maxlength, name/value, method="post", checked, selected, required and pattern validation, and wrap it all in a fieldset.
In this lecture you will learn:
Learn how to validate HTML forms without JavaScript using HTML5's built-in features. This lecture shows type="email" checking, the required attribute, and the pattern attribute with character sets, plus signs, length rules like {8} and {8,}, special characters and a required ending dot.
In this lecture you will learn:
Learn how to create moving (scrolling) text on a web page with the HTML <marquee> tag. We set width, height and bgcolor, compare the alternate, slide and scroll behaviors, change speed with scrollamount, add hspace/vspace, set the direction, and pause the marquee with mouse events.
In this lecture you will learn:
Learn how the HTML <iframe> tag shows other content inside your web page. We embed a local video file, set width, height, frameborder, scrolling, marginheight and marginwidth, then embed a YouTube video (with autoplay and allowfullscreen) and a Facebook post using their ready-made embed codes.
In this lecture you will learn:
Learn how to set file paths in HTML so your page can find images and other files. We load images from next folders (folder2/icon.ico, folder2/folder3/laptop.jpg), go back one folder with ../, see what happens when the path is wrong, and link to an HTML page two folders up with <a href="../../...">.
In this lecture you will learn:
In the last lecture of the HTML5 chapter you learn how to show your own icon in the browser's title bar (tab). The code goes inside the <head>, using the <link> tag with rel="icon" and an href pointing to the icon file, then the result is checked in Chrome.
In this lecture you will learn:
The first CSS3 lecture explains what CSS (Cascading Style Sheets) is and why we use it to style web pages for every device. You'll also learn the problem CSS solved: before CSS, fonts and colors were added with the <font> tag and color attribute on every single page.
In this lecture you will learn:
Learn the three ways to insert CSS into HTML: external style sheets, internal style sheets and inline styles. See when each one is used, how the <link> tag and its rel, type and href attributes work, and where the <style> tag and style attribute go.
In this lecture you will learn:
Learn the syntax of a CSS rule-set: the selector and the declaration block. This lecture covers ID, class and grouping selectors, property: value declarations with colons, semicolons and curly brackets, CSS comments, and a full example using external, internal and inline styles.
In this lecture you will learn:
Learn how to change font color and background color with CSS using the background-color and color properties. The lesson covers HSL, RGB, HSLA and RGBA color values with alpha opacity, changing the whole page background, and how inline styles take priority over internal CSS — plus how !important overrides them.
In this lecture you will learn:
Learn the main CSS background properties on the body of a web page: background-color, background-image with url(), background-repeat (no-repeat, repeat-x, repeat-y, repeat), background-position and background-attachment: fixed. Every property is typed live and tested in the browser.
In this lecture you will learn:
Learn every basic CSS border property with a live Notepad++ and Chrome demo. You'll set border-style values, change the border color and width, round corners with border-radius, apply different styles to each side, and use the border shorthand and one-side borders like border-left.
In this lecture you will learn:
Learn the difference between margin and padding in CSS using a simple picture and a live example. You'll apply margin-left, margin-top and the margin shorthand to a paragraph, add a border to see the box, then use padding-left and the padding shorthand.
In this lecture you will learn:
In this CSS3 lesson you learn how to control the size of an element with the width and height properties. We target paragraphs with ID selectors, give them a background to make the box visible, and set width in percent and pixels and height with auto or pixels.
In this lecture you will learn:
In this lecture you'll see why the div tag only becomes useful once CSS is applied. We style a div with background, width, height, padding and margin, then wrap headings and a paragraph in a div to create one styled section, and finally target it with an ID.
In this lecture you will learn:
In this CSS3 lesson you learn how to draw an outline around an element using outline-style, outline-color, outline-width and outline-offset. You also learn the one-line outline shorthand and compare dotted and dashed outlines.
In this lecture you will learn:
This lecture walks through the CSS text formatting properties one by one, applied live in Notepad++ and checked in Chrome. You'll style a paragraph with color, direction, spacing, alignment, decoration, indent, shadow, transform and white-space.
In this lecture you will learn:
Learn how to add icons to your web pages using three popular icon libraries: Font Awesome, Bootstrap glyphicons and Google Material Icons. You'll save each library's CSS locally, link it with a <link> tag and display icons using the right class syntax.
In this lecture you will learn:
Learn how to style HTML links in CSS for their three states: hover, visited and active. Farhan Ellahi first shows these states on a real website, then builds a practice page in Notepad++ using a, a:hover, a:active and a:visited rules.
In this lecture you will learn:
In this CSS3 lecture you learn how to format HTML lists with three properties. We change bullet shapes with list-style-type (circle, square), move bullets inside or outside with list-style-position, and use a GIF image as the bullet with list-style-image.
In this lecture you will learn:
In this CSS3 lecture you style an HTML table step by step: borders and border-collapse, width and height, horizontal and vertical alignment, padding and row dividers. Then you add a hover effect with tr:hover, zebra stripes with nth-child(odd), a responsive width and background colors.
In this lecture you will learn:
Learn how the CSS display property changes the way elements appear: inline, block and none, and how visibility: hidden differs. Using a list of links, the lesson shows inline and block layouts, makes the whole link box clickable with display: block on the a tag, and compares display: none with visibility: hidden.
In this lecture you will learn:
Learn the difference between the CSS width and max-width properties. We style two divs, one with width: 1000px and one with max-width: 1000px, then resize the browser to see that the fixed-width box stays the same while the max-width box shrinks with the window.
In this lecture you will learn:
Learn all the CSS overflow properties — visible, hidden, scroll, and auto — with live coding demos. We also cover overflow-x and overflow-y to control horizontal and vertical overflow separately.
In this lecture you will learn:
Learn all five CSS position values - static, relative, absolute, fixed and sticky - with a live Notepad++ and Chrome demo. See how top, left, right and bottom offsets behave for each type and when elements move with the page or stay in place while scrolling.
In this lecture you will learn:
Learn how the CSS float and clear properties position content. Farhan Ellahi floats images left and right, uses clear and clear: both to keep text below them, and then builds a horizontal navigation bar from an unordered list with float.
In this lecture you will learn:
Learn the CSS display value inline-block and how it differs from inline and block: it keeps elements on the same line while respecting width, height and padding. Then build a horizontal navigation bar from an unordered list using display: inline-block.
In this lecture you will learn:
Learn every CSS alignment option: text-align (left, right, center, justify) for horizontal alignment and vertical-align values like sub, super and middle. Then center a box perfectly on the page with position, top/left 50% and transform: translate(-50%, -50%), and vertically center text inside a box.
In this lecture you will learn:
This lecture explains CSS combinators, which describe the relationship between two selectors. Using a div with nested p and code tags, it demonstrates the descendant (space), child (>), adjacent sibling (+) and general sibling (~) combinators and shows exactly which elements each one styles.
In this lecture you will learn:
Learn how CSS pseudo-classes style elements by state and position. This lesson covers form inputs (:valid, :invalid, :enabled, :disabled, :read-only, :in-range, :out-of-range, :checked) and text selectors (:first-child, :last-child, :nth-child, :lang, :target) with live examples.
In this lecture you will learn:
Learn how CSS pseudo-elements style a specific part of an element. This lesson covers the double-colon syntax, ::first-letter, ::first-line, ::after and ::before with the content property (text and images), and ::selection for highlighted text.
In this lecture you will learn:
Learn the CSS opacity property, which controls how transparent an element is using values from 0 to 1. We fade an image, create a blue color tint by placing an image inside a semi-transparent div, and build a see-through text box over a background image.
In this lecture you will learn:
Build navigation bars step by step with CSS3: turn an unordered list of links into a vertical navbar, highlight the active link, add hover effects, and make full-height fixed, horizontal, right-aligned, fixed top/bottom and sticky navigation bars.
In this lecture you will learn:
Learn how to build a simple, fully responsive CSS dropdown menu from scratch -- no classes or IDs required. This tutorial covers nested unordered lists, the :hover selector, absolute positioning, and fine-tuning spacing so your navigation menu looks clean and professional.
In this lecture you will learn:
In this lecture we continue the CSS dropdown navigation bar and add images to it. You'll move and center the menu, place a website logo with the <img> tag and position: absolute, add small icons to every tab and dropdown link using a shared class, and make the logo round with border-radius.
In this lecture you will learn:
Build a simple grid image gallery with HTML and CSS. You'll size each gallery box, line the images up with display: inline-block, add margin, borders, a hover effect and captions, and make every image open at full size in a new tab.
In this lecture you will learn:
Learn how CSS attribute selectors work — from exact value matches to partial matches using ^=, $=, *=, ~=, and |=. This lesson shows live coding examples so you can target elements by their HTML attributes precisely.
In this lecture you will learn:
Learn to style an HTML form with CSS3: make input fields full width, target specific fields with attribute selectors like input[type="text"], and add icons inside inputs using background-image. The lesson also styles a textarea, a select menu and the submit and reset buttons.
In this lecture you will learn:
This lecture explains CSS units and why they matter for sizing fonts, boxes, borders and images. You'll learn absolute units like px, and relative units like %, em, rem, vh, vw, vmin and vmax, then see them compared live in Notepad++ and Chrome.
In this lecture you will learn:
Learn what a web layout is and how websites are arranged for desktop, tablet and mobile screens. Then build a classic page layout with HTML and CSS: a header, a navigation bar, three floated columns sized in percentages, a footer, and side navigation links, fixing the layout with box-sizing and a clearfix. Finally, make an image resize relative to its column and use a media query to adapt the layout for mobile screens.
In this lecture you will learn:
Why does a correctly written CSS rule sometimes not apply? This lecture explains CSS specificity with a live example: inline styles beat ID selectors, IDs beat classes, classes beat tag selectors, and among equal rules the last one wins. Finally you'll see how !important forces a style over all of them.
In this lecture you will learn:
The first lecture of the JavaScript series explains what JavaScript is and how it was created at Netscape by Brendan Eich in 1995. It covers JavaScript's advantages and disadvantages, real-world uses, JavaScript vs JScript and Java, and what you need before you start coding.
In this lecture you will learn:
In this JavaScript lecture you write your first output with document.write() inside a script tag, then declare variables with var and assign numbers, strings and boolean values. You also learn to use HTML tags inside strings and join strings and variables with the + sign.
In this lecture you will learn:
Learn the three ways to add JavaScript to a web page: a script tag in the head, a script tag in the body, and an external .js file linked with src. Then see four ways to show output — document.write, console.log in Chrome DevTools, window.alert, and getElementById with innerHTML — plus how to spot errors in the console.
In this lecture you will learn:
Learn how to use Google Chrome Developer Tools (Inspect) to explore any web page. This lecture covers the Elements tab for viewing and live-editing HTML and CSS, the Console for errors and running JavaScript, and the Sources tab for finding a page's functions.
In this lecture you will learn:
A complete tour of JavaScript operators with live coding in Notepad++ and Chrome. You'll use arithmetic, assignment, string, comparison, conditional (ternary), logical and bitwise operators, then typeof, delete, in and instanceof.
In this lecture you will learn:
Learn the three JavaScript notification boxes: alert(), prompt() and confirm(). You'll show an alert on a button click with onclick, take user input with prompt() and print it with document.write(), and use the true/false result of confirm() in an if condition.
In this lecture you will learn:
Learn how JavaScript decides which code to run with if, if...else and else if statements, tested live with document.write in the browser. You'll also see why an else if chain runs only the first true condition, when to use separate if statements, and how the NOT (!) operator reverses a condition.
In this lecture you will learn:
Learn how the JavaScript for loop works: its three statements (initialization, condition and iterate) and how the loop runs step by step. Build live examples that print a counter, generate even and odd numbers, count backwards, move parts of the loop outside, and repeat an <hr> line.
In this lecture you will learn:
Learn the remaining JavaScript loops with live examples: while, do...while, for...of and for...in. We loop over a string with value.length, an array of names and an object's properties, and see why for...of and for...in need no counter or condition.
In this lecture you will learn:
Learn the JavaScript switch statement with a simple grade-checker example that takes input with prompt(). You'll write case, break and default, fix a missing-colon error, handle upper- and lowercase input with stacked cases, and see where default can be placed.
In this lecture you will learn:
Learn why and how to use functions in JavaScript to avoid writing the same code again and again. Build a functionName() example, then an addition(a, b) function with parameters and arguments, return a value, and see the difference between local and global variables.
In this lecture you will learn:
In this lecture we use JavaScript functions to power a simple calculator page: add, subtract, multiply and divide input values, clear the fields, change the background colour and show an alert box. You'll also see why input values behave as strings, how parseInt() fixes it, and how to shorten code into a single line.
In this lecture you will learn:
Want to build your own web pages but don't know where to start? This beginner course teaches the three core languages of the web - HTML5, CSS3 and JavaScript - step by step, with every concept shown live in a code editor and the browser.
The lessons are taught in Urdu/Hindi (technical terms in English) and every lecture has English subtitles. This is a professionally remastered edition of Nanosoft's original course: cleaner audio, tighter pacing, clear titles, key-term cards and code zoom-ins, so it is easy to follow on any screen.
What's inside
Section 1 - HTML5 Fundamentals (15 lectures): what HTML is, the structure of every web page, and the everyday tags for text, lists, tables, media, forms, validation, iframes, file paths and the favicon.
Section 2 - CSS3 Fundamentals (18 lectures): adding CSS, syntax, fonts and colours, backgrounds, borders, the box model, text, links, lists, tables, display, width and overflow.
Section 3 - CSS3 Layout and Selectors (8 lectures): positioning, float and clear, inline-block navigation, alignment, combinators, pseudo-classes, pseudo-elements and opacity.
Section 4 - CSS3 Practical Projects (9 lectures): navigation bar, dropdown menu, logo and icons, image gallery, attribute selectors, full-width forms, CSS units, a responsive page layout and specificity.
Section 5 - JavaScript Fundamentals (12 lectures): variables, output, Chrome DevTools, operators, alert boxes, if...else, loops, switch and functions.
How you will learn: short focused lectures, live coding, a quiz at the end of each section, and a small hands-on assignment that grows into your own web page.
By the end you will be able to write clean HTML pages, style them confidently with CSS and add basic interactivity with JavaScript - the foundation for WordPress, front-end frameworks or freelancing.
Who is teaching? Farhan Ellahi - web developer, Top Rated freelancer and founder of Nanosoft, with years of experience building websites, WordPress/WooCommerce stores and web apps for international clients.
Support: ask any question in the Q&A section - every question is answered.