Here is a list of some common HTML tags and their uses:
<html>: Defines the root element of a HTML document.<head>: Contains metadata about the document, such as the title of the page and links to stylesheets.<title>: Specifies the title of the document, which is displayed in the browser's title bar.<body>: Contains the content of the HTML document.<header>: Represents a container for introductory content or a set of navigational links.<nav>: Defines a section of a page that contains navigation links.<main>: Specifies the main content of a document.<section>: Defines a standalone section of a document, such as a chapter or appendix.<article>: Specifies independent, self-contained content, such as a blog post or forum post.<aside>: Specifies content that is tangentially related to the main content, such as a sidebar or pull quote.<h1> to <h6>: Specify headings of different levels, with<h1>being the most important and<h6>being the least important.<p>: Defines a paragraph of text.<a>: Defines a hyperlink to another web page or to a specific location on the same page.<img>: Specifies an image to be displayed on the page.<ul>: Specifies an unordered list, where each list item is marked with a bullet point.<ol>: Specifies an ordered list, where each list item is marked with a number or letter.<li>: Specifies a list item within an ordered or unordered list.<table>: Specifies a table, with rows and columns used to organize data.<tr>: Specifies a row within a table.<th>: Specifies a header cell within a table, typically used for the first row to define column headings.<td>: Specifies a data cell within a table, used to contain the actual data.<form>: Specifies a form that allows users to input data that can be submitted to a server.<input>: Specifies an input field where the user can enter data.<label>: Specifies a label for an input element.<select>: Specifies a drop-down list of options.<option>: Specifies an option within a drop-down list.<textarea>: Specifies a multi-line input field.<button>: Specifies a clickable button.
This is not an exhaustive list, but these tags should cover the majority of HTML usage for basic websites.
.jpg)
Nice Article Bro
ReplyDeletePost a Comment