Introduction
HTML (Hypertext Markup Language) uses a markup system composed of elements which represent specific content.
HTML is sometimes called a programming language but it has no logic, so is a markup language. HTML .......Creating a simple page
The following HTML example creates a simple "Hello World" web page.
<!DOCTYPE html>
<html >
<head>
<title>Hello</title>
</head>
<body>
<h1>Hello World!</h1>
<p>This is a simple paragraph.</p>
</body>
</html>
These are the tags used in the example:
Tag Meaning <!DOCTYPE> the HTML version used in the document. In this case it is HTML5.
<html>
Opens the page. No markup should come after the closing tag (</html>). The lang attribute declares the primary language of the page using the ISO language codes (en for English). See the Content Language topic for more information.
<head>
Opens the head section, which does not appear in the main browser window but mainly contains information about the HTML document, called metadata. It can also contain imports from external stylesheets and scripts. The closing tag is </head>.
<h1> A level 1 heading for the page.((Heading are use in 6 time as,h1,h2,h3,h4,h5,h6)
See headings for more information.
<p> Represents a common paragraph of text.
Next page TUTE-2
Comments
Post a Comment