HTML Elements
HTML (Hypertext Markup Language) is the standard markup language for creating web pages. It uses a set of elements or tags to structure the content and define the different parts of a webpage. Here are some commonly used HTML elements:
<html>: The root element of an HTML page.
<head>: The container for metadata and other non-visible elements.
<title>: Defines the title of the document, displayed in the browser’s title bar or tab.
<body>: Contains the visible content of the webpage.
<h1> to <h6>: Headings of different levels, with <h1> being the highest and <h6> the lowest.
<p>: Defines a paragraph of text.
<a>: Creates a hyperlink to another web page or a specific location within the same page.
<img>: Inserts an image into the webpage.
<ul>: Creates an unordered (bulleted) list.
<ol>: Creates an ordered (numbered) list.
<li>: Defines a list item within <ul> or <ol>.
<div>: A container that groups and organizes other elements.
<span>: An inline container used to apply styles or manipulate individual pieces of text.
<table>: Defines a table with rows and columns.
<tr>: Defines a table row.
<td>: Defines a table cell within a row.
<form>: Creates an interactive form for user input.
<input>: Defines an input control, such as a text field, checkbox, or button, within a form.
<textarea>: Defines a multi-line text input control.
<button>: Creates a clickable button.
These are just a few examples of HTML elements. There are many more available, each serving a specific purpose in structuring and presenting content on a webpage.