In most cases, inside the <html> tag there is a <head> and a <body>.
The <head> is usually used for scripting in CSS and JavaScript whereas the <body> is usually the content of the page.
Some content can be changed using the scripting in the <head>, but the <body> is
usually the content that is unchangeable on the page. An example would be a
short spiel about the website that you are visiting.
You can make changes to the content’s formatting using CSS (Section 3) in the
<head>. However you can also make changes to the formatting in the <body>.
A commonly used set of tags that are used in the body are the header fonts. These
header fonts range in size and strength/boldness. Just see for yourself below:
******************************************************
1 <?xml version = "1.0 encoding = "utf-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
5 <body>
6 <h1> Hello </h1>
7 <h2> World, </h2>
8 <h3> this </h3>
9 <h4> is my </h4>
10 <h5> first </h5>
11 <h6> page! </h6>
13 </html>
******************************************************

0 comments:
Post a Comment