Html Structure
Container Tag & Empty Tag
<html>
<head> //head tag open
my web page title //title tag
</head> //head tag closed
<body> // body tag open
welcome to doPhpTalks Learn and Enjoy
</body> //body tag closed
</html>
Eg 2. Empty tag (no closing tag)
<hr/> //empty tags
<img/>
<input />
Html Element Property
<h1 align="center" title="Html heading tag is used to define web page heading"> welcome to doPhpTalks Learn and Enjoy</h1>
In the above example .=> Body tag and heading tag define inside the HTML tag.
=> heading tag is used to display headings on web pages. attribute Align with (value=”center”) are for alignment of heading on web page.
=> The bgcolor attribute is used to set the background color of the body. and Background attribute is used to set the image on background of a document.
See the video tutorial :

No comments:
Post a Comment