8/19/24, 8:28 PM HTML Elements - PHPGurukul
HTML (Hypertext Markup Language) is a markup language used for creating the
structure and presentation of web pages. HTML documents consist of HTML elements,
which are building blocks that define the different parts and content of a web page. Here
are some commonly used HTML elements:
1. <html> : Represents the root element of an HTML page.
2. <head> : Contains meta-information about the HTML document, such as the title and
links to external stylesheets or scripts.
3. <body> : Encloses the content of the HTML document that will be displayed in the
browser window.
4. <div> : Defines a division or a container that groups other HTML elements together.
5. <p> : Represents a paragraph of text.
6. <h1> to <h6> : Headings of different levels, with <h1> being the highest
and <h6> being the lowest.
7. <a> : Creates a hyperlink to another web page or a specific location within the same
page.
8. <img> : Inserts an image into the web page.
9. <ul> : Defines an unordered list.
10. <ol> : Defines an ordered list.
11. <li> : Represents an item in a list ( <ul> or <ol> ).
12. <table> : Defines a table with rows and columns.
13. <tr> : Represents a table row.
14. <td> : Represents a table cell within a row.
15. <form> : Creates a form for user input.
16. <input> : Defines an input field within a form.
17. <button> : Creates a clickable button.
18. <select> : Creates a dropdown list.
19. <textarea> : Defines a multi-line text input area.
20. <span> : Defines a generic inline container for text or other elements.
These are just a few examples of HTML elements, and there are many more available
for various purposes. HTML provides a wide range of elements to structure and
organize the content on a web page, allowing developers to create interactive and
visually appealing websites.
Other HTML entities
1. <abbr> : Abbreviation
2. <address> : Contact information
3. <area> : Image map area
4. <article> : Article content
5. <aside> : Sidebar content
6. <audio> : Audio playback
7. <b> : Bold text
8. <base> : Base URL for all relative URLs in a document
9. <bdi> : Bi-directional text isolation
10. <bdo> : Bi-directional text override
11. <blockquote> : Block quotation
12. <body> : Document body
13. <br> : Line break
https://phpgurukul.com/html-elements/ 1/3
8/19/24, 8:28 PM HTML Elements - PHPGurukul
14. <button> : Button
15. <canvas> : Drawing canvas
16. <caption> : Table caption
17. <cite> : Title of a work
18. <code> : Computer code
19. <col> : Table column
20. <colgroup> : Group of table columns
21. <data> : Machine-readable data
22. <datalist> : Pre-defined options for input controls
23. <dd> : Definition description
24. <del> : Deleted text
25. <details> : Additional details
26. <dfn> : Definition term
27. <dialog> : Dialogue box or window
28. <div> : Generic container
29. <dl> : Definition list
30. <dt> : Definition term
31. <em> : Emphasized text
32. <embed> : External content container
33. <fieldset> : Group of related form controls
34. <figcaption> : Figure caption
35. <figure> : Figure container
36. <footer> : Document or section footer
37. <form> : Form
38. <h1> to <h6> : Headings of different levels
39. <head> : Document head
40. <header> : Document or section header
41. <hgroup> : Group of headings
42. <hr> : Thematic break
43. <html> : Document root element
44. <i> : Italic text
45. <iframe> : Inline frame
46. <img> : Image
47. <input> : Input control
48. <ins> : Inserted text
49. <kbd> : User input
50. <label> : Form element label
51. <legend> : Fieldset legend
52. <li> : List item
53. <link> : External resource link
54. <main> : Main content of a document
55. <map> : Image map container
56. <mark> : Highlighted text
57. <meta> : Metadata
58. <meter> : Scalar measurement within a known range
59. <nav> : Navigation links
60. <noscript> : Fallback content for non-scriptable environments
61. <object> : Embedded object
62. <ol> : Ordered list
https://phpgurukul.com/html-elements/ 2/3
8/19/24, 8:28 PM HTML Elements - PHPGurukul
63. <optgroup> : Option group
64. <option> : Option in a select element
65. <output> : Calculated output value
66. <p> : Paragraph
67. <param> : Parameter for an object
68. <picture> : Picture with multiple sources
69. <pre> : Preformatted text
70. <progress> : Progress indicator
71. <q> : Inline quotation
72. <q> : Inline quotation
73. <rp> : Parentheses for ruby annotation text
74. <rt> : Ruby annotation text
75. <ruby> : Ruby annotation container
76. <s> : Strikethrough text
77. <samp> : Sample output or code
78. <script> : Embedded or referenced script
79. <section> : Document section
80. <select> : Dropdown list
81. <small> : Small text
82. <source> : Media source for <audio> or <video>
83. <span> : Generic inline container
84. <strong> : Strong emphasis
85. <style> : Inline or embedded style information
86. <sub> : Subscript text
87. <summary> : Summary or caption for <details>
88. <sup> : Superscript text
89. <table> : Table
90. <tbody> : Table body
91. <td> : Table data cell
92. <template> : Template content
93. <textarea> : Multi-line text input
94. <tfoot> : Table footer
95. <th> : Table header cell
96. <thead> : Table header
97. <time> : Date or time value
98. <title> : Document title
99. <tr> : Table row
100. <track> : Text track for <video> or <audio>
101. <u> : Underlined text
102. <ul> : Unordered list
103. <var> : Variable or placeholder text
104. <video> : Video playback
105. <wbr> : Word break opportunity
https://phpgurukul.com/html-elements/ 3/3