ADVERTISEMENTS

What is HTML ?

HTML (HyperText Markup Language) is a standard markup language used to create web pages. It is a fundamental technology of the World Wide Web and is used in conjunction with other web technologies like CSS (Cascading Style Sheets) and JavaScript to create web pages that are visually appealing, interactive, and dynamic.

The term "HyperText Markup Language" (HTML) is a combination of three different terms:

  • HyperText : This refers to text that contains hyperlinks to other web pages, which allows users to navigate between web pages by clicking on links.
  • Markup : This refers to the way that text is marked up or annotated with tags to define the structure and formatting of the content.
  • Language : This refers to the fact that HTML is a programming language, albeit a relatively simple one, that is used to create web pages.

Note: HTML provides a set of predefined tags that can be used to define various elements of a web page, such as headings, paragraphs, lists, links, images, forms, and more. By using these tags, developers can create web pages that are structured, semantically meaningful, and easily understood by search engines and other web technologies.

So, in simple terms, HyperText Markup Language (HTML) is a programming language used to create web pages that contain hyperlinks and are marked up with tags to define their structure and formatting.

HTML is a markup language, which means that it uses a series of tags to describe the structure and content of a web page. These tags are enclosed in angle brackets (< >) and usually come in pairs, with an opening tag and a closing tag. The content of the tag is placed between the opening and closing tags.

Here's an example of a simple HTML document that demonstrates the basic structure and tags used in HTML:

ADVERTISEMENTS
<!DOCTYPE html>
<html>
  <head>
	<title>Etutorialz Web Page</title>
  </head>
  <body>
	<h1>Welcome to Etutorialz web page!</h1>
	<p>This is a paragraph of text.</p>
	<ul>
  	<li>Item 1</li>
  	<li>Item 2</li>
  	<li>Item 3</li>
	</ul>
  </body>
</html>

 

This HTML document consists of the following elements:

  • <!DOCTYPE html> : Declares the document type and tells the browser that this is an HTML5 document.
  • <html< : The root element of the HTML document.
  • <head> : Contains metadata about the document, such as the document title.
  • <title> : Defines the title of the document, which is displayed in the browser's title bar.
  • <body> : Contains the visible content of the web page.
  • <h1> : Defines a heading level 1.
  • <p> : Defines a paragraph of text.
  • <ul> : Defines an unordered list.
  • <li> : Defines a list item.

When this HTML document is rendered in a web browser, it will display the heading "Welcome to my web page!", a paragraph of text, and an unordered list with three items.

Overall, HTML is a flexible and versatile technology that provides the foundation for creating rich, interactive, and accessible web pages. Its tags and attributes allow developers to define the structure and content of web pages, while its compatibility and versioning ensure that these pages can be viewed on a wide range of devices and browsers.

ADVERTISEMENTS