ADDING LINE BREAKS HTML in Computer Education Grade 10

300179 13 views 17 slides Aug 19, 2024
Slide 1
Slide 1 of 17
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17

About This Presentation

HTML Lesson in Computer Education Grade 10


Slide Content

Adding Line Breaks COMPUTER PROGRAMMING QUARTER 2 – MODULE 1

LEARNING OBECTIVE/S you will be able to apply line and multiple line breaks and horizontal rule; use definition list and pre-formatting text; and apply background color and highlighting text.

Adding Line Breaks The < br > tag creates a line break or a new line.

Creating Multiple Line Breaks

Adding Horizontal Rule The Horizontal Rule allows you to underline headlines or add a borderline. You can add a line by using the Horizontal Rule tag < hr >.

Modifying a Horizontal Rule You can also align or adjust the width, length and shading of the rule or line. You can also create your own graphic horizontal rule by using GIF images.

Changing the Background Color of a Page You can change the background color of the page by using the bgcolor attribute <body bgcolor =”value”> </body>.

Highlighting Text You can highlight words or important information that needs attention by using the <mark></mark> tags.

Definition List This type of list uses the container tag <dl></dl>. Unlike the previous lists, the definition list uses the empty tags <dt> for the item itself and <d> for the definition of the item.

Preformatting Text You can preformat text by using the Preformat tag pair <pre> </pre>. The <pre> tag preserves the text format, spaces line breaks and tabs without you having to change anything.
Tags