Académique Documents
Professionnel Documents
Culture Documents
IMAGES
The <img> tag requires the src attribute, which specifies the path to an
image.
Adding Text and Images
1. Create a paragraph about your Webpage
a. Click after the <body> and press Enter
text and
Watch out for Lesson3- Structuring Content. Please share for others to
benefit.
LESSON 3
STRUICTURING CONTENT
Having followed the previous lessons, You now intend to organise the page in
such a way that each section is different from the other.
A badly designed and disordered web page may discourage potential users
from visiting your website. You will learn how to iclude headings, line breaks,
horizontal rules and list in this lesson.
CREATING HEADINGS AND HORIZONTAL RULES
you learntb how to create a basic document structure in the last lesson
consisting of some text and graphics. You would now like to arrange the
contents in such a way that each section is distinguishable from the other
sections.
Headings
A heading is a line of text used to indicate athe nature of information given in
the subsequent paragraph. There are six levels of headings in XHTML, from
<h1> which is the most important type of heading to <h6>, least important.
A browser will render the more important ones using a larger font size and
the less important ones using a smaller font size.
Horizontal Rules
It is a long line used to visually divide sections of a web page. You can specify
the height, width and position of a horizontal rule on a web page.
How to create Headings and Horizontal Rules
Create Headings
1. Determine the location for your heading
2. Determine the level of heading you would like to use
3. Enter the opening tag <hn> for the chosen heading level where n is a
number between 1 and 6
4. After the opening heading tag, input the required text.
5. After the text, Close the tag </hn>
6. Save the file and test on your browser.