horizonal ruled line

9

Click here to load reader

Upload: ann-alcid

Post on 06-Dec-2014

388 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Horizonal ruled line

The HORIZONTAL RULED LINE and The ALIGN

Attribute

Page 2: Horizonal ruled line

Horizontal Ruled Line

<hr> is used. No closing tag is necessary. The attributes are:

Width – refers to the percentage in relation to the length of the screen.

Any number means the number of pixel (picture element)

Size - thickness of the line. Color – line color.

Page 3: Horizonal ruled line

Example of <HR>

<hr width=75% size=20 color=green>

We can also add some attribute in the <hr>.<hr width=75% size=10

color=red align=right>

Page 4: Horizonal ruled line

The Use of Horizontal Ruled Line Draw a horizontal line across the

web page. It is use to separate different

areas or information of a web pages.

It is also use as a design of a web page.

Page 5: Horizonal ruled line

The ALIGN as an Attribute

Page 6: Horizonal ruled line

Object Alignment

A paragraph or any object in a Web page can be positioned on the left, right or center of a Web Browser’s display window.

Used align attribute equals the value

Page 7: Horizonal ruled line

The Syntax

Example in a paragraph<p align=left>

paragraph </p>

Page 8: Horizonal ruled line

The paragraph alignment

Left Paragraph <p align=left></p>

Right Paragraph <p align=right></p>

To Center a title or text <center>The Text Here</center>

Page 9: Horizonal ruled line

Assignment

Topic: PREFORMATTED, ABBREVIATION & ACRONYM Element

Questions:1.What is a preformatted element?2.What are the tags used to create a

preformatted, abbreviation and Acronym?

Reference: The Internet