What Is HTML
What Is HTML
HTML Tags
HTML markup tags are usually called HTML tags
<html>
<body>
<h1>My First Heading</h1>
</body>
</html>
Example Explained
The text between <html> and </html> describes the
web page
The text between <body> and </body> is the visible
page content
The text between <h1> and </h1> is displayed as a
heading
The text between <p> and </p> is displayed as a
paragraph
HTML Tags
HTML tags (otherwise known as "HTML elements"), and their
respective attributes are used to create HTML documents so
that you can view them in browsers and other user agents.
Note that not all browsers/user agents support all HTML tags
and their attributes, so you should try to test your pages in
as many browsers as you can.
<form>
<html>
This tag is used to indicate that this is a HTML document. Most HTML
documents should start and end with this tag.
<head>
This tag is used to indicate the header section of the HTML
document, which typically includes the <title> and <meta> tags, and
is not displayed in the main window of the browser.
<title>
This indicates the title of this HTML page. The title is what is
displayed on the upper left corner of your browser when you view a
web page. For example, right now you can see "Basic Tags: html,
head, title, meta, body" there. That is the title of this page.
<body>
The <body> tag includes the HTML body of the document. Everything
inside the <body> tag (other than those within the <script> tag) is
displayed on the browser inside the main browser window.
The <body> tag may contain several attributes. The most commonly
used ones are listed below:
<html>
<head>
<title>
Here is the title of the HTML document.
</title>
<meta name=" " content=" " />
... (there may be one or more meta tags)
</meta>
</head>
<body>
Here is the body of the HTML document.
</body>
</html>