HTML Tags | Document Structure - Text Formatting - Links and URLs - Lists - Images - Tables - Semantic Elements - Some common HTML tags
Introduction to HTML Tags HTML (Hypertext Markup Language) uses tags to structure content on the web. Here are some common HTML tags: 1. Document Structure: <!DOCTYPE html>: Defines the document type and version. <html>: The root element of an HTML page. <head>: Contains meta-information about the HTML document. <title>: Sets the title of the HTML document. <body>: Contains the content of the HTML document. HTML Tags 2. Text Formatting: <h1> to <h6>: Headings (from largest to smallest). <p>: Paragraph. <br>: Line break. <hr>: Horizontal rule. 3. Links and URLs: <a href="url">: Anchor tag for creating hyperlinks. 4. Lists: <ul>: Unordered list. <ol>: Ordered list. <li>: List item. 5. Images: <img src="image-url" alt="description">: Image tag. 6. Tables: <table>: Defines a table. <tr>: Defines a table row. <th>: Defines a table header c...