HTML Introduction
What is HTML?
- HTML stands for Hyper Text Markup Language.
- HTML is the standard markup language for creating a web pages.
- HTML provides the structure of a web page.
- The displaying content of a web page is made by HTML.
- HTML consist of a series of tags.
- HTML is the first step in making a web page.
Example Code :
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>First heading</h1>
<p>First paragraph.</p>
</body>
</html>
Example explanation
- The defines that the document is an HTML5 document.
- The <html> tag is the base element of an HTML page.
- The <head> tag consist of meta information about the HTML page.
- The <title> tag provides the title for a web page, which is displayed in the toolbar of a web page.
- The <body> tag is a container of a web page. Where all the visible contents are placed.
- The <h1> tag defines the largest heading.
- The <p> tag defines a paragraph.
- The </title>,</head>,</h1>,</p>,</body>,</html> tags are called as closing tags.
Post a Comment
Thank you
Learning robo team