TUTORIAL HTML : headings and line breaks
Sample of the pdf document :
1-Headings :
A heading in HTML is just what you might expect, a title or subtitle. By
placing text inside of <h1> (heading) tags, the text displays bold and
the size of the text depends on the number of heading (1-6). Headings are
numbered 1-6, with 1 being the largest heading and 6 being the smallest.
HTML Code:
<body>
<h1>Headings</h1>
<h2>are</h2>
<h3>great</h3>
<h4>for</h4>
<h5>titles</h5>
<h6>and subtitles</h6>
</body>
Place these lines into your HTML file and you should get what is
displayed below.
Headings 1-6:
headings
are
great
for
titles
and subtitles
Notice that each heading has a line break before and after each heading
display. This is a built in attribute so to speak associated with the heading
tag. Each time you place a heading tag, your web browser automatically places a
line break in front of your beginning tag and after your ending tag exactly the
same as with <p> tags.
Essay
walkthrough:
Let's tie together headings and paragraphs to form an essay.
Copy(Highlight, then Ctrl C) or code the following in the body of your page or
a new page. Or make your own essay paragraphs...........
Click here for Download PDF / FREE

0 commentaires: