0% found this document useful (0 votes)
5 views

HTML_Tags_and_Uses

Uploaded by

rahulrathava0003
Copyright
© © All Rights Reserved
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% found this document useful (0 votes)
5 views

HTML_Tags_and_Uses

Uploaded by

rahulrathava0003
Copyright
© © All Rights Reserved
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/ 5

HTML Tags and Their Uses

1. <!DOCTYPE>: Defines the document type and version of HTML.

2. <html>: The root element of an HTML document.

3. <head>: Contains metadata like title, links, and scripts.

4. <title>: Specifies the title of the document (displayed on the browser tab).

5. <body>: Contains the content of the HTML document.

6. <h1> to <h6>: Define headings, <h1> being the highest level.

7. <p>: Represents a paragraph.

8. <a>: Defines hyperlinks.

9. <img>: Embeds an image.

10. <ul>: Creates an unordered list.

11. <ol>: Creates an ordered list.

12. <li>: Defines a list item.


13. <div>: Defines a division or a section.

14. <span>: Used for styling inline elements.

15. <br>: Inserts a line break.

16. <hr>: Defines a horizontal line.

17. <strong>: Represents strong importance (usually bold).

18. <em>: Represents emphasis (usually italicized).

19. <table>: Creates a table.

20. <tr>: Defines a table row.

21. <td>: Defines a table cell.

22. <th>: Defines a table header cell.

23. <form>: Represents an HTML form.

24. <input>: Creates input controls.

25. <button>: Defines a clickable button.

26. <textarea>: Defines a multi-line text input.


27. <select>: Creates a dropdown list.

28. <option>: Defines options in a dropdown list.

29. <script>: Embeds or refers to JavaScript.

30. <link>: Links external resources like CSS.

31. <meta>: Defines metadata like charset and viewport.

32. <style>: Embeds CSS styles.

33. <iframe>: Embeds another HTML page.

34. <audio>: Embeds audio content.

35. <video>: Embeds video content.

36. <canvas>: Used for drawing graphics via JavaScript.

37. <svg>: Scalable Vector Graphics for shapes and drawings.

38. <header>: Represents introductory content or a set of navigational links.

39. <footer>: Defines footer content.


40. <main>: Specifies the main content of the document.

41. <article>: Defines self-contained content.

42. <section>: Defines a section of a document.

43. <aside>: Defines content aside from the main content.

44. <nav>: Defines navigation links.

45. <details>: Creates a collapsible section.

46. <summary>: Provides a heading for a <details> element.

47. <mark>: Highlights text.

48. <progress>: Represents a progress bar.

49. <meter>: Represents a scalar measurement within a range.

50. <blockquote>: Indicates a blockquote.

51. <code>: Displays inline code.

52. <pre>: Displays preformatted text.

53. <small>: Represents small text.


54. <sup>: Displays superscript text.

55. <sub>: Displays subscript text.

You might also like