![Page 1: Web Pages: Creating & Maintaining Body Tags. There have been several versions of HTML since its inception. VersionYear HTML1991 HTML 2.01995 HTML 3.21997](https://reader036.vdocuments.mx/reader036/viewer/2022072116/56649e7d5503460f94b808c0/html5/thumbnails/1.jpg)
Web Pages:Creating & Maintaining
Body Tags
![Page 2: Web Pages: Creating & Maintaining Body Tags. There have been several versions of HTML since its inception. VersionYear HTML1991 HTML 2.01995 HTML 3.21997](https://reader036.vdocuments.mx/reader036/viewer/2022072116/56649e7d5503460f94b808c0/html5/thumbnails/2.jpg)
There have been several versions of HTML since its inception.
Version YearHTML 1991HTML 2.0 1995HTML 3.2 1997HTML 4.01 1999XHTML 2000HTML 5 2012
•A <!DOCTYPE> declaration helps the browser to display the web page correctly. •<!DOCTYPE> statement is not case sensitive.•The first line of every HTML document should be a <!DOCTYPE> statement.
HTML Versions
![Page 3: Web Pages: Creating & Maintaining Body Tags. There have been several versions of HTML since its inception. VersionYear HTML1991 HTML 2.01995 HTML 3.21997](https://reader036.vdocuments.mx/reader036/viewer/2022072116/56649e7d5503460f94b808c0/html5/thumbnails/3.jpg)
For HTML 4.01<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<TITLE>My Web Page</TITLE>
</HEAD>
<BODY>
This is my webpage
</BODY>
</HTML>
Doc Type Declaration
![Page 4: Web Pages: Creating & Maintaining Body Tags. There have been several versions of HTML since its inception. VersionYear HTML1991 HTML 2.01995 HTML 3.21997](https://reader036.vdocuments.mx/reader036/viewer/2022072116/56649e7d5503460f94b808c0/html5/thumbnails/4.jpg)
“p” = Distance in Pixels…..
Bgcolor is the color of the Background
<BODY> </BODY>
<BODY bgcolor=“#RRGGBB”>
<BODY leftmargin=“p”>
<BODY text=“#RRGGBB”>
<BODY bgcolor=“#FF0000”>
<BODY topmargin=“p”>
<BODY text=“#0000FF”>
3
Default
FFFFFF
3
000000
<BODY bgcolor=“#00AC25” topmargin=“25” leftmargin=“50” text=“#34A3DD”>
<BODY rightmargin=“p”> 3
![Page 5: Web Pages: Creating & Maintaining Body Tags. There have been several versions of HTML since its inception. VersionYear HTML1991 HTML 2.01995 HTML 3.21997](https://reader036.vdocuments.mx/reader036/viewer/2022072116/56649e7d5503460f94b808c0/html5/thumbnails/5.jpg)
HTML
![Page 6: Web Pages: Creating & Maintaining Body Tags. There have been several versions of HTML since its inception. VersionYear HTML1991 HTML 2.01995 HTML 3.21997](https://reader036.vdocuments.mx/reader036/viewer/2022072116/56649e7d5503460f94b808c0/html5/thumbnails/6.jpg)
Open Notepad
Hello there !
All text is the Largest Heading
Aligned to the left
Text color is Blue
Top Margin is “100”
Left Margin is “150”
Background color is Green
Title = “Body Options”…. File Name = “bodyoptions.html”