0% found this document useful (0 votes)
4 views3 pages

Essential HTML Tags Overview

Uploaded by

Shanthi.V
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

Essential HTML Tags Overview

Uploaded by

Shanthi.V
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Basic Structure Tags

 <!DOCTYPE>: Defines the document type and version of HTML.

 <html>: The root element of an HTML document.

 <head>: Contains meta-information about the HTML document.

 <title>: Sets the title of the HTML document, displayed in the browser's title bar.

 <body>: Contains the content of the HTML document.

Metadata and Link Tags

 <meta>: Provides metadata about the HTML document, such as character set, author, and
keywords.

 <link>: Defines the relationship between the current document and an external resource,
often used for linking stylesheets.

 <base>: Specifies the base URL for all relative URLs in a document.

Text Formatting Tags

 <h1> to <h6>: Define HTML headings, with <h1> being the highest level and <h6> the lowest.

 <p>: Defines a paragraph.

 <br>: Inserts a line break.

 <strong>: Defines strong, important text.

 <em>: Defines emphasized text.

 <b>: Defines bold text.

 <i>: Defines italicized text.

 <u>: Defines underlined text.

 <small>: Defines smaller text.

List Tags

 <ul>: Defines an unordered (bulleted) list.

 <ol>: Defines an ordered (numbered) list.

 <li>: Defines a list item.

 <dl>: Defines a description list.

 <dt>: Defines a term/name in a description list.

 <dd>: Defines a description of a term/name in a description list.

Link and Navigation Tags

 <a>: Defines a hyperlink.

 <nav>: Defines a section of navigation links.


Image and Multimedia Tags

 <img>: Embeds an image.

 <figure>: Specifies self-contained content, like illustrations, diagrams, or photos.

 <audio>: Embeds sound content.

 <video>: Embeds video content.

 <source>: Specifies multiple media resources for <audio> and <video>.

 <track>: Specifies text tracks for <video> and <audio>.

Table Tags

 <table>: Defines a table.

 <tr>: Defines a row in a table.

 <td>: Defines a cell in a table.

 <th>: Defines a header cell in a table.

 <thead>: Groups the header content in a table.

 <tbody>: Groups the body content in a table.

 <tfoot>: Groups the footer content in a table.

 <caption>: Provides a table caption.

Form Tags

 <form>: Defines an HTML form for user input.

 <input>: Defines an input control.

 <textarea>: Defines a multi-line text input control.

 <button>: Defines a clickable button.

 <select>: Defines a drop-down list.

 <option>: Defines an option in a drop-down list.

 <label>: Defines a label for an <input> element.

 <fieldset>: Groups related elements in a form.

Semantic Tags

 <article>: Defines independent, self-contained content.

 <section>: Defines a section in a document.

 <aside>: Defines content aside from the page content.

 <header>: Defines a header for a document or section.

 <footer>: Defines a footer for a document or section.


 <main>: Specifies the main content of a document.

 <nav>: Defines navigation links.

 <figure>: Specifies self-contained content, like images or diagrams.

Other Common Tags

 <div>: Defines a division or section in a document.

 <span>: Defines a section in a document for styling purposes.

 <iframe>: Defines an inline frame.

 <details>: Defines additional details that the user can view or hide.

 <summary>: Defines a visible heading for a <details> element.

You might also like