HTML TUTORIAL
HTML
HTML :- HTML stand for Hypertext Markup Language, and it is used in write a web pages, and used to format web pages with the help of different tags available in HTML language.
Basic HTML Document
Live Demo
<!DOCTYPE hlml>
<html>
<head>
<title>This is document title</title>
</head>
<body>
<h1>This is a heading</h1>
<p>Document content goes here.......</p>
</body>
</html>
HTML Tags
Examples of HTML document uses the following tags----------------
- <!DOCTYPE>
- <html>
- <head>
- <title>
- <body>
- <h1>
- <p>
HTML Document Stracture
It has following structures.............
<html>
<head>
Document header related tags
</head>
<body>
Documnets body related tags
</body>
</html>
HTML - Basic Tags
Any documents starts with a heading.You can use different sizes for your heading.HTML also has six levels of headings,which use the elements.....
<h1>, <h2>, <h3>, <h4>, <h5>, and <h6>.While displaying any heading,browser adds one line before and one line after that heading.
Examlpe:-
<!DOCTYPE html>
<html>
<head>
<title>Heading Examle</title>
</head>
<body>
<h1>This is heading 1</h1>
<h2>This is heading 1</h2>
<h3>This is heading 1</h3>
<h4>This is heading 1</h4>
<h5>This is heading 1</h5>
<h6>This is heading 1</h6>
</body>
</html>
Pagaraph Tag
Each paragraph of text should go in between an opening <p> and a closing </p> tag as shown below in the example.........
Example:-
Comments
Post a Comment