Element | Meaning |
---|---|
<html> | The root element of an HTML document. |
<head> | Contains meta-information about the document. |
<title> | Sets the title of the document (shown in the browser tab). |
<meta> | Provides metadata about the document. |
<link> | Links external resources like stylesheets. |
<style> | Embeds CSS styles directly in the document. |
<script> | Embeds JavaScript or links to external scripts. |
<body> | Defines headings, with h1 being the highest and h6 the lowest. |
<h1> to <h6> | Contains the visible content of the document. |
<p> | Defines a paragraph of text. |
<a> | Creates a hyperlink to other web pages, files, locations, or resources. |
<img> | Embeds images in the document. |
<ul> | Defines an unordered list. |
<ol> | Defines an ordered list. |
<li> | Defines a list item within ul or ol. |
<table> | Creates a table structure. |
<tr> | Defines a table row. |
<td> | Defines a table cell. |
<th> | Defines a table header cell. |
<caption> | Provides a title or caption for a table. |
<form> | Creates a form for user input. |
<input> | Defines an input field within a form. |
<textarea> | Creates a multiline text input field. |
<button> | Creates a clickable button. |
<select> | Creates a dropdown selection list. |
<label> | Defines a label for an input element. |
<div> | A generic container for grouping elements. |
<span> | A generic container for styling or scripting. |
<header> | Represents a container for introductory content or a group of navigational elements. |
<nav> | Represents a section of navigation links. |
<article> | Represents self-contained content like blog posts or articles. |
<section> | Represents a thematic grouping of content. |
<footer> | Represents the footer of a document or section. |