Here are 100 common HTML tags along with their typical uses:
<html>
: Defines the root of an HTML document.<head>
: Contains meta-information about the HTML document.<title>
: Sets the title of the HTML document.<body>
: Contains the content of the HTML document.<h1> to <h6>
: Define headings of various levels.<p>
: Represents a paragraph.<a>
: Creates hyperlinks.<img>
: Embeds images.<ul>
: Defines an unordered list.<ol>
: Defines an ordered list.<li>
: Represents a list item within<ul>
or<ol>
.<table>
: Creates a table.<tr>
: Defines a table row.<td>
: Defines a table cell.<th>
: Defines a table header.<div>
: Groups content for styling or scripting.<span>
: Applies styles to inline elements.<form>
: Creates an HTML form.<input>
: Defines an input field within a form.<textarea>
: Defines a multiline text input within a form.<button>
: Creates a clickable button.<label>
: Defines a label for an<input>
element.<select>
: Creates a dropdown list.<option>
: Defines an option within a<select>
element.<strong>
: Represents strong importance (bold).<em>
: Represents emphasized text (italic).<br>
: Inserts a line break.<hr>
: Creates a horizontal rule.<blockquote>
: Defines a block of text from another source.<cite>
: Citations for creative works.<code>
: Represents a snippet of code.<pre>
: Defines preformatted text.<abbr>
: Defines an abbreviation or acronym.<address>
: Represents contact information.<time>
: Represents a specific period in time.<article>
: Defines an article.<aside>
: Defines content aside from the page content.<footer>
: Defines a footer for a section or page.<header>
: Defines a header for a section or page.<nav>
: Defines navigation links.<section>
: Defines a section in a document.<mark>
: Highlights text.<progress>
: Represents the progress of a task.<meter>
: Represents a scalar measurement within a known range.<details>
: Defines additional details that the user can view or hide.<summary>
: Defines a summary for a<details>
element.<iframe>
: Embeds an inline frame.<audio>
: Embeds sound content.<video>
: Embeds video content.<source>
: Defines multiple media resources for<audio>
or<video>
.<track>
: Defines text tracks for media elements.<canvas>
: Defines an area for drawing graphics.<svg>
: Embeds scalable vector graphics.<bdo>
: Overrides the text direction.<wbr>
: Defines a word break opportunity.<dfn>
: Represents a definition term.<fieldset>
: Groups related elements in a form.<legend>
: Defines a caption for a<fieldset>
.<optgroup>
: Groups<option>
elements within a<select>
.<datalist>
: Defines a list of pre-defined<option>
elements for<input>
with a list attribute.<output>
: Represents the result of a calculation or user action.<script>
: Embeds or references an external script.<noscript>
: Provides alternative content for users with disabled scripts.<style>
: Embeds or references stylesheets.<link>
: Links external resources like stylesheets.<meta>
: Provides metadata about the HTML document.<base>
: Specifies a base URL/target for all relative URLs in a document.<head>
: Contains meta-information about the HTML document.<title>
: Sets the title of the HTML document.<style>
: Defines styles for a document.<script>
: Embeds or references an external script.<noscript>
: Provides alternative content for users with disabled scripts.<link>
: Links external resources like stylesheets.<base>
: Specifies a base URL/target for all relative URLs in a document.<head>
: Contains meta-information about the HTML document.<title>
: Sets the title of the HTML document.<style>
: Defines styles for a document.<script>
: Embeds or references an external script.<noscript>
: Provides alternative content for users with disabled scripts.<link>
: Links external resources like stylesheets.<base>
: Specifies a base URL/target for all relative URLs in a document.<head>
: Contains meta-information about the HTML document.<title>
: Sets the title of the HTML document.<style>
: Defines styles for a document.<script>
: Embeds or references an external script.<noscript>
: Provides alternative content for users with disabled scripts.<link>
: Links external resources like stylesheets.<base>
: Specifies a base URL/target for all relative URLs in a document.<head>
: Contains meta-information about the HTML document.<title>
: Sets the title of the HTML document.<style>
: Defines styles for a document.<script>
: Embeds or references an external script.<noscript>
: Provides alternative content for users with disabled scripts.<link>
: Links external resources like stylesheets.<base>
: Specifies a base URL/target for all relative URLs in a document.<head>
: Contains meta-information about the HTML document.<title>
: Sets the title of the HTML document.<style>
: Defines styles for a document.<script>
: Embeds or references an external script.<noscript>
: Provides alternative content for users with disabled scripts.
These tags cover a wide range of functionalities in creating structured and interactive web pages.
0 Comments