The document provides a comprehensive list of HTML tags and their uses, including structural elements like <html>, <head>, and <body>, as well as content elements such as <h1> to <h6>, <p>, and <a>. It also covers form elements like <input> and <button>, and layout elements like <div> and <section>. Each tag is briefly described to highlight its purpose in web development.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
9 views1 page
HTML Tags and Their Uses
The document provides a comprehensive list of HTML tags and their uses, including structural elements like <html>, <head>, and <body>, as well as content elements such as <h1> to <h6>, <p>, and <a>. It also covers form elements like <input> and <button>, and layout elements like <div> and <section>. Each tag is briefly described to highlight its purpose in web development.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
HTML Tags and Their Uses:
1. <!DOCTYPE html>: Specifies the document type and version of HTML.
2. <html>: Root element that wraps all HTML content. 3. <head>: Contains meta-information, such as the title, character set, and links to scripts and stylesheets. 4. <title>: Sets the title of the web page (displayed in the browser's title bar or tab). 5. <meta>: Provides metadata about the HTML document, such as character encoding, author, and description. 6. <body>: Contains the main content of the HTML document. 7. <h1> to <h6>: Define headings, with <h1> as the highest level and <h6> as the lowest. 8. <p>: Represents a paragraph. 9. <a href="URL">: Creates a hyperlink to another webpage. 10. <img src="URL" alt="description">: Embeds an image. 11. <ul>: Creates an unordered (bulleted) list. 12. <ol>: Creates an ordered (numbered) list. 13. <li>: Represents a list item within <ul> or <ol>. 14. <div>: Defines a division or section, often used for layout purposes. 15. <span>: Used to group inline elements for styling or scripting. 16. <table>: Creates a table. 17. <tr>: Defines a row in a table. 18. <td>: Defines a cell in a table row. 19. <th>: Defines a header cell in a table. 20. <header>: Represents introductory content or a set of navigational links. 21. <footer>: Represents a footer for a document or section. 22. <nav>: Defines navigation links. 23. <article>: Represents a self-contained composition in a document, page, application, or site. 24. <section>: Represents a standalone section of content. 25. <aside>: Defines content aside from the content it is placed in. 26. <form>: Creates an interactive form to collect user input. 27. <input>: Defines an input control. 28. <button>: Defines a clickable button. 29. <label>: Defines a label for an <input> element. 30. <textarea>: Defines a multiline input control. 31. <select>: Creates a drop-down list. 32. <option>: Defines an option in a drop-down list. 33. <br>: Inserts a line break. 34. <hr>: Represents a thematic break (horizontal rule). 35. <strong>: Indicates strong importance (usually displayed in bold). 36. <em>: Indicates emphasis (usually displayed in italics). 37. <blockquote>: Defines a block of quoted text. 38. <code>: Defines a piece of computer code. 39. <pre>: Represents preformatted text. 40. <iframe>: Embeds another HTML page within the current page