0% found this document useful (0 votes)
2 views2 pages

HTML Tags and Uses

The document provides a comprehensive list of HTML tags categorized by their functions, including structure and metadata, text formatting, links and media, lists, tables, forms, semantics and layout, and scripting. It also notes deprecated tags that are no longer supported in HTML5. Each category includes specific tags and their uses for web development.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

HTML Tags and Uses

The document provides a comprehensive list of HTML tags categorized by their functions, including structure and metadata, text formatting, links and media, lists, tables, forms, semantics and layout, and scripting. It also notes deprecated tags that are no longer supported in HTML5. Each category includes specific tags and their uses for web development.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

List of HTML Tags and Their Uses

Structure and Metadata


- <!DOCTYPE>: Declares the HTML version.

- <html>: Root of the HTML document.

- <head>: Contains metadata (title, scripts, styles).

- <title>: Sets the title of the webpage.

- <meta>: Provides metadata like character set and viewport.

- <link>: Links external resources (e.g., CSS).

- <style>: Embeds CSS styles.

Text Formatting
- <h1> to <h6>: Headings from largest to smallest.

- <p>: Paragraph.

- <br>: Line break.

- <hr>: Horizontal line.

- <strong>, <b>: Bold text.

- <em>, <i>: Italic text.

- <u>: Underlined text.

- <sub>, <sup>: Subscript and superscript.

- <mark>: Highlights text.

- <small>: Smaller text.

- <code>, <samp>, <kbd>: Code, sample output, and keyboard input.

- <pre>: Preformatted text.

- <blockquote>: Quoted section.

Links and Media


- <a>: Anchor tag (links).
- <img>: Images.

- <audio>, <video>: Media playback.

- <source>, <track>: Media sources and captions.

- <iframe>: Embeds another web page.

Lists
- <ul>, <ol>, <li>: Unordered and ordered lists.

- <dl>, <dt>, <dd>: Description list.

Tables
- <table>, <tr>, <th>, <td>, <thead>, <tbody>, <tfoot>: Table structure.

Forms
- <form>: HTML form.

- <input>, <textarea>, <button>, <select>, <option>, <label>: Form controls.

- <fieldset>, <legend>: Group form elements.

Semantics and Layout


- <header>, <footer>, <main>, <nav>, <section>, <article>, <aside>: Semantic layout elements.

- <div>: Generic container.

- <span>: Inline container.

Scripting
- <script>: Embed or link JavaScript.

- <noscript>: Fallback content if scripts are disabled.

Tags Not Supported in HTML5


- <acronym>, <applet>, <basefont>, <big>, <center>, <dir>, <font>, <frame>, <frameset>,

<noframes>, <strike>, <tt>: Deprecated tags, no longer supported in HTML5.

You might also like