- <!DOCTYPE html<
- Tells the browser the document type (HTML5).
- <html<
Wraps all the content of your webpage.
- <head<
- Contains metadata, links to stylesheets, scripts, and page info.
- <title<
- Sets the title shown in the browser tab.
- <meta<
- Provides metadata (like character encoding, viewport settings).
- <link<
- Links external files (like CSS).
- <script<
- Embeds or links JavaScript code.
- <body<
- Holds all the visible content of your webpage.
- <h1<
- <h6<
- Headings, h1 is the largest/most important, h6 the smallest.
- <p<
- Defines a paragraph of text.
- <br<
- Line break (forces text to go to the next line).
- <hr<
- Horizontal line (thematic break in content).
- <span<
- Inline container for styling small bits of text.
- <strong<
- Bold text for emphasis (semantic importance).
- <em<
- Italic text for emphasis.
- <a<
- Creates hyperlinks to other pages or sections.
- <img<
- Embeds an image into the page.
- <video<
- Embeds a video player.
- <audio<
- Embeds an audio player.
- <iframe<
- Embeds another webpage or resource (like a YouTube video).
- <ul<
- Unordered (bulleted) list.
- <ol<
- Ordered (numbered) list.
- <li<
- List item inside <ul or ol.<
- <dl<
- Description list (like a glossary).
- <dt<
- Term in a description list.
- <dd<
- Definition/description of a term in a description list.
- <div<
- Generic block-level container for grouping elements.
- <eader<
- Defines a header section (site or section top).
- <nav<
- Contains navigation links.
- <footer<
- Defines a footer section (bottom of page or section).