List down all the tags present in HTML?
1 Like
There are many more HTML tags available for various purposes.I mentioned some of them :
-
<html>
: Defines the root element of an HTML document. -
<head>
: Contains meta-information about the document, like title, metadata, etc. -
<title>
: Sets the title of the web page, displayed in the browser’s title bar or tab. -
<meta>
: Provides metadata about the HTML document (charset, author, description, etc.). -
<link>
: Specifies relationships between the current document and external resources (stylesheets, etc.). -
<style>
: Contains CSS (Cascading Style Sheets) for styling the document. -
<script>
: Defines client-side JavaScript code or links to an external JavaScript file. -
<body>
: Contains the main content of the web page that is visible to users. -
<header>
: Represents the introductory content at the top of a page or section. -
<nav>
: Defines a navigation menu. -
<main>
: Specifies the main content of a document. -
<article>
: Represents a self-contained composition (blog post, news story, etc.). -
<section>
: Defines a section of a document, such as a chapter or tabbed content. -
<aside>
: Represents content that is tangentially related to the content around it. -
<footer>
: Contains footer information, often at the bottom of a page. -
<h1>
to<h6>
: Headings of different levels (from highest to lowest importance). -
<p>
: Defines a paragraph. -
<a>
: Creates a hyperlink. -
<img>
: Embeds an image. -
<ul>
: Defines an unordered list. -
<ol>
: Defines an ordered list. -
<li>
: Represents a list item within<ul>
or<ol>
. -
<table>
: Defines a table. -
<tr>
: Defines a table row. -
<th>
: Defines a table header cell. -
<td>
: Defines a table data cell. -
<form>
: Creates a form for user input. -
<input>
: Defines an input field. -
<textarea>
: Defines a multi-line text input field. -
<button>
: Creates a clickable button. -
<select>
: Creates a dropdown list. -
<label>
: Defines a label for an<input>
element. -
<div>
: Defines a generic container. -
<span>
: Defines inline styling or grouping of inline elements. -
<iframe>
: Embeds an inline frame for displaying another HTML document. -
<video>
: Embeds a video. -
<audio>
: Embeds audio content.
Additionally, HTML specifications may evolve, so always refer to the latest documentation for the most up-to-date information.
Good answer ayushi. keep it up!!!