Learn the fundamentals of HTML, the building block of all websites. This course covers essential HTML tags, page structure, links, images, lists, forms, and more. Perfect for beginners who want to start creating their own web pages from scratch.
Learn the full HTML structure, essential tags, and how to build your first web page.
<!DOCTYPE html> — Declares HTML5 document type.<html> — Root element of the page.<head> — Contains meta-info, title, CSS/JS links.<body> — Visible content of the page.<h1> to <h6><p><a href="#">Link</a><img src="..." alt="..."><ul>, <ol>, <li><table>, <tr>, <td>, <th><form>, <input>, <textarea>, <button><header>, <footer>, <section>, <article><video>, <audio><br>, <hr>, <div>, <span>, <strong>, <em>Learn how to style your HTML page using CSS: colors, fonts, layout, and basic effects.
CSS uses selectors and properties to style HTML elements:
selector {
property: value;
}
body, h1, p.color, background-color.#0ea5e9, 16px.color, font-family, font-size, font-weight, text-alignwidth, height, margin, padding, borderbackground-color, background-imagedisplay, flex, grid, positionborder-radius, box-shadow, opacityp { color: red; }.box { background: yellow; }#header { font-size: 24px; }* { margin:0; padding:0; }h1, h2, h3 { color: blue; }Combine everything you learned in HTML and CSS to create a small interactive and styled webpage.
Test your understanding of HTML basics with this short quiz. Select the correct answer for each question.
Complete the quiz and score well to earn your certificate!