HTML -Hyper Text Markup Language which is used to create webpages.
An html element or a tag is similar to a command in programming language,here it defines the content or structure in a web page.
Elements have to create by using a angle brackets.
Example : <html> <head>
Tags most commonly occur in pairs of opening and closing tags. (<html> </html>)
See the general structure of an html program.
<html>
<head>
<title> Sample program</title>
</head>
<body>
Actual body contents go here
</body>
</html>
All html elements need to keep in between <html> </html> tags.
<head> specifies the heading of html web page.
<title> keep inside the <head> tag, the content in between <title> and </title> would be the title displays on title bar of your browser.
The page contents lies in between <body> and </body>
Atributes are used to give additional property's for HTML elements.
Attributes are defined within the opening tag, after an element’s name.
Syntax to use atribute is atributename="value"
Example <body bgcolor="pink>
here i have specified an atribute with body tag which will change the back ground color of the web page to pink.
Common HTML Terms
Elements or Tag
An html element or a tag is similar to a command in programming language,here it defines the content or structure in a web page.
Elements have to create by using a angle brackets.
Example : <html> <head>
Tags most commonly occur in pairs of opening and closing tags. (<html> </html>)
See the general structure of an html program.
<html>
<head>
<title> Sample program</title>
</head>
<body>
Actual body contents go here
</body>
</html>
All html elements need to keep in between <html> </html> tags.
<head> specifies the heading of html web page.
<title> keep inside the <head> tag, the content in between <title> and </title> would be the title displays on title bar of your browser.
The page contents lies in between <body> and </body>
Atributes
Atributes are used to give additional property's for HTML elements.
Attributes are defined within the opening tag, after an element’s name.
Syntax to use atribute is atributename="value"
Example <body bgcolor="pink>
here i have specified an atribute with body tag which will change the back ground color of the web page to pink.
Comments
Post a Comment