HTML Basic Structure
HTML Basic Tags
HTML basic tags are fundamental elements used to structure and format content on web pages.
These tags provide the building blocks for creating web documents.
Essential HTML tags
<!DOCTYPE html>: tells a web browser what version of HTML document.
<html>: Defines the root element of an HTML document.
<head>: Contains meta-information about the HTML document, such as title, scripts, and stylesheets.
<title>: Sets the title of the HTML document, displayed in the browser's title bar or tab.
<body>: Contains the content of the HTML document, including text, images, links, and other elements.
Example
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph Hussein.</p>
</body>
</html>
Try it Yourself »