0% found this document useful (0 votes)
9 views2 pages

HTML-vii

HTML, or Hyper Text Markup Language, is the standard markup language used to create web pages, consisting of elements that define the structure and content of the page. An HTML element is made up of a start tag, content, and an end tag, and a simple HTML document includes elements like <html>, <head>, <title>, and <body>. Web browsers interpret HTML documents to display the content correctly without showing the HTML tags themselves.

Uploaded by

s_ar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

HTML-vii

HTML, or Hyper Text Markup Language, is the standard markup language used to create web pages, consisting of elements that define the structure and content of the page. An HTML element is made up of a start tag, content, and an end tag, and a simple HTML document includes elements like <html>, <head>, <title>, and <body>. Web browsers interpret HTML documents to display the content correctly without showing the HTML tags themselves.

Uploaded by

s_ar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

HTML

What is HTML?
 HTML stands for Hyper Text Markup Language
 HTML is the standard markup language for creating Web pages
 HTML describes the structure of a Web page
 HTML consists of a series of elements
 HTML elements tell the browser how to display the content
 HTML elements label pieces of content such as "this is a heading", "this is a
paragraph", "this is a link", etc.

 What is an HTML Element?


 An HTML element is defined by a start tag, some content, and an end tag:
 <tagname> Content goes here... </tagname>
 The HTML element is everything from the start tag to the end tag:
 <h1>My First Heading</h1>
 <p>My first paragraph.</p>

A Simple HTML Document to display your school


name
Example

<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1> My school name is Gurukul Global School</h1>
</body>
</html>
Example Explained
 The <!DOCTYPE html> declaration defines that this document is an HTML5 document
 The <html> element is the root element of an HTML page
 The <head> element contains meta information about the HTML page
 The <title> element specifies a title for the HTML page (which is shown in the
browser's title bar or in the page's tab)
 The <body> element defines the document's body, and is a container for all the
visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists,
etc.
 The <h1> element defines a large heading
 The <p> element defines a paragraph

Web Browsers
The purpose of a web browser (Chrome, Edge, Firefox, Safari) is to read HTML documents
and display them correctly.

A browser does not display the HTML tags, but uses them to determine how to display
the document:

Output:-

You might also like