HTML Tags
HTML utilizes a variety of tags to arrange and format contents on web pages. Here are some commonly used HTML tags:
-
<!DOCTYPE html>: Specifies the document type. <a>: Defines a hyperlink.-
<abbr>: Defines the abbreviation or short form of an element. -
<address>: Indicates the contact information of a person or an organization. <article>: Defines an article.<aside>: Sidebar content.-
<audio>: Defines sound content in the HTML page. <b>: Defines bold text.-
<blockquote>: Defines a section that is quoted from another source. -
<body>: Contains the content of the HTML page. <br>: Line break.<button>: Defines the clickable button.<caption>: Defines a table caption.<cite>: define the title of a work.<code>: Defines a piece of computer code.-
<div>: Defines a division or section in an HTML page <em>: Defines emphasized text.-
<fieldset>: Groups related elements in a form. -
<footer>: Defines a footer for a HTML page. <form>: Defines an HTML form.-
<h1> to <h6>: Defines headings of different sizes. -
<head>: Contains meta-information about the document, such as title, scripts, and styles. -
<header>: Defines a header for a HTML page. <hr>: Horizontal line.<html>: Specifies the document type.<i>: Display the content in italic style.<iframe>: Embeds another HTML page.<img>: Inserts an image.<input>: Defines an input control.<li>: Defines a list item.-
<link>: Links external resources like stylesheets. -
<main>: Specifies the main information of a document. -
<marquee>: Create scrolling text or images on a webpage -
<meta>: Provides metadata such as character set, author, and viewport settings. -
<nav>: Defines a navigation section in HTML page. <ol>: Defines an ordered list.-
<option>: Defines an option in a dropdown list. <p>: Defines a paragraph.<pre>: Defines preformatted text.<q>: Defines a short quotations.<script>: Defines client-side JavaScript.-
<section>: Defines a section in a document. <select>: Defines a dropdown list.-
<source>: Defines multiple media resources for<video>and<audio>elements. -
<span>: Defines a section in a document for styling. <strong>: Defines bold text.-
<style>: Defines CSS styles for the document. <table>: Defines a table.<tbody>: Table body group.<td>: Defines a table data cell.-
<textarea>: Defines a multiline input control. <th>: Defines a table header cell.<thead>: Table header group.<title>: Sets the title of the html page.<u>: Underlined text.<ul>: Defines an unordered list.-
<video>: Embeds video content in the webpage.