About Lesson
Sure! Here’s a reference list of some commonly used HTML elements along with their descriptions:
<html>
: Represents the root element of an HTML document.<head>
: Contains metadata about the HTML document, such as title, stylesheets, and scripts.<title>
: Specifies the title of the HTML document displayed in the browser’s title bar or tab.<body>
: Contains the main content of the HTML document.<h1>
to<h6>
: Represents heading levels, with<h1>
being the highest and<h6>
being the lowest.<p>
: Defines a paragraph of text.<a>
: Creates a hyperlink to another webpage or resource.<img>
: Inserts an image into the HTML document.<ul>
: Represents an unordered (bulleted) list.<ol>
: Represents an ordered (numbered) list.<li>
: Defines a list item within an ordered or unordered list.<div>
: Defines a division or a container that groups elements together.<span>
: Inline element used to apply styles or manipulate small sections of text.<table>
: Represents tabular data organized in rows and columns.<tr>
: Defines a table row.<td>
: Represents a table cell.<th>
: Defines a header cell in a table.<form>
: Creates a form for user input.<input>
: Creates an input field within a form.<button>
: Creates a clickable button.<label>
: Associates a label with a form element.<textarea>
: Creates a multiline text input area.<select>
: Creates a dropdown list of options.<option>
: Defines an option within a<select>
dropdown.<iframe>
: Embeds an external web page or content within the current HTML document.
These are just a few examples of HTML elements. There are many more elements available to structure and style your web content. You can find more detailed information and examples in the HTML documentation provided by resources like Mozilla Developer Network (MDN) or W3Schools.
Join the conversation