|
J & D Graphics HTML Guide Basic HTML Guide - Part Two: The Basic Tags Headings and Paragraphs There are seven types of heading tag in HTML. The largest and boldest is <H1> & </H1>, while the smallest is <H7> & </H7>. These tags are placed around a line of text that you want to stand out from the page in some way. For example, if you wanted the title "Cheeses of the World" to appear in large, bold letters, you would use the following line: <H1>Cheeses of the World</H1> This creates the title on a new line. The Paragraph tag, <P> lets you define a body of text to be a paragraph. When the paragraph tag is used, a blank line is placed before and after the text to seperate it from the other content on the page. The Paragraph does not need a closing tag, as when a new <P> tag is encountered, a new paragraph is created. Here is an example bit of code that would create a couple of paragraphs: <P>The Greatest cheese that ever lived was Harry Edam, a powerful cheese with a military background. <p>He was born during the great dairy war of 1997 and lives in the back of a barn. Ignore the subject matter, I don't have a thing about cheese....
|
||||||||||||||||||||||||||||
[ - About
- Gallery - HTML Guide -
JavaScript - Subs
- ] |