HTML, or Hypertext Markup Language, is the standard language used to create web pages. It is a markup language. HTML is used to create the structure and layout of a web page, and it is the foundation on which a website is built. It is a markup language, which means it uses tags to define different elements on a page, such as headings, paragraphs, and links. These tags provide a way to create headings, paragraphs, lists, images, tables, forms, and other types of content on a web page.
HTML is supported by all web browsers, so it is a widely-used and accessible technology for creating web pages. Additionally, HTML allows developers to create web pages that are accessible to users with disabilities, as it provides a way to add alternative text to images and create structured headings and lists.
My First HTML Page
Welcome to my website!
This is my first webpage created using HTML.
Click here to visit my website
- Item 1
- Item 2
- Item 3
Basic HTML Tags
This example includes a few basic HTML tags to create a simple webpage:
<!DOCTYPE>declaration defines the document type and version of HTML used in the page.
<html>tag defines the beginning and end of the HTML document.
<head>tag contains information about the document, such as the title of the page, which is displayed in the browser’s title bar.
<body>tag contains the content of the webpage, such as headings, paragraphs, lists, images, and links.
<h1>tag is used to create a level-1 heading, which is the largest and most important heading on the page.
<p>tag is used to create a paragraph of text.
<ul>tag creates an unordered list, with bullet points.
<li>tag creates a list item.
<img>tag is used to insert an image. It requires the “src” attribute to specify the URL of the image, and the “alt” attribute to provide alternative text for the image.
<a>tag creates a hyperlink, with the “href” attribute specifying the URL of the linked page.
Note that this is just a simple example and there are more elements and attributes in HTML that can be used to create more complex web pages.