![]() |
|
You use the <body> tag to identify the main part of your page. You put the content of your page within this tag. You can include all the usual suspects: your headings, paragraphs, lists, tables, pictures and sounds, links to other pages and forms to fill in. You can format your text in a variety of ways, including changing the font, making text bold and so on. The <body> tag itself has a number attributes that let you control the look of your page. If you don't add any attributes, the browser usually displays black text on a white background. You can use the <body> tag to:
Note: In some HTML documents, the <body> tag doesn't appear. You see a <frameset> tag that defines the frames that provide the content of the document instead. For more information, see Using frames. You can now start to add some basic headings and paragraphs to your page. |
More information The HTML body Adding headings and paragraphs |