Appearance
HTML
HTML (Hypertext Markup Language) is a standard markup language used to create web pages. It provides a means to describe the structure and content of a web document, including headings, paragraphs, lists, links, images, and more. The content and structure of a web page is defined using HTML tags and elements, which are interpreted by web browsers to display the page as intended. HTML is the foundation of most websites and provides a basic structure for web developers to build upon with styles and scripts.
Basic HTML Elements
Element | Description | More |
---|---|---|
<html> | The root element that contains all other elements on a page.right-aligned | Example |
<head> | Contains information about the document, such as the title and meta data. | Example |
<title> | Specifies the title of the document, which is displayed in the browser's title bar. | Example |
<body> | Contains the main content of the document | Example |
<H1 to H6> | Defines headings of different levels | Example |
<div> | Defines headings of different levels | Example |
<span> | Defines headings of different levels | Example |
<p> | Defines a paragraph. | Example |
<a> | Defines a hyperlink, which allows users to navigate to other pages or web resources.. | Example |
<img> | Displays an image. | example |