WITH HTML YOU CAN CREATE YOUR OWN WEB SITE .
HTML IS EASY TO LEARN
HTML IS EASY TO LEARN
What is an html?
-HTML is stands for Hypertext Markup Language.
-It's widely used to design webpages.
-Hypertext refers to the way in which webpages linked together thus the
link available on a webpages are called hypertext.
-As its name suggest HTMl is a markup language which means you use HTML
to simply "markup" text with tags that tell web browser how to
structure display.
-Html is being used to format web pages with help of different tags available in html
-Html is not case sensetive language.
EX. <strong> and <STRONG> tag meaning are same as.
The basic HTML structure
<!DOCTYPE html><html>
<head>
<!-- here the header part of webpage
like title ,linked of page ,metatags,style -->
</head>
<body>
<!--here the main part of html where design webpage
with different tag -->
</body>
</html>
-Let's save it in an html file in name_of_file.html extension. Then open file in web browser
html tags
html tags have two type tags1)content tag- those tag have closing tag
EX. 1) <html> </html> 2) <head> </head>
2)empty tag- those have not closing tag
EX. 1) <br/> 2) <hr/>
Above
example of HTML document uses following tags
To learn html,We will need to study various tags and understand how they bahave while formatting a textual document
TAGNAME
|
TAG | DESCRIPTION | EXAMPLE |
DOCTYPE TAG |
<!DOCTYPE
html>
|
THIS
TAG DEFINES THE DOCUMENT TYPE AND HTML VERSION
|
EX.<!DOCTYPE
xhtml>
<!DOCTYPE
html5>
|
HTML TAG |
<HTML>...</html>
|
This
tag encloses the complete HTML document and mainly comprises of
document header <head>...</head> and body
<body>...</body> tags
|
<html>the all structure are writing between this tag</html> |
HEAD TAG |
<head> ...</head>
|
This
tag represent the document header which can keep other
HTML
tags like <title>,<link> tags. Header information is
not displayed in browser window
|
<head>this tag is using for heading and it's can't display by in webpage</head> |
BODY TAG |
<body>....</body>
|
This
tag is use to design the the main web page
|
<body><h1>all tag are used ,you can used the nested tag also</body> |
Comments