ADDING LINE BREAKS HTML in Computer Education Grade 10
300179
13 views
17 slides
Aug 19, 2024
Slide 1 of 17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
About This Presentation
HTML Lesson in Computer Education Grade 10
Size: 1.84 MB
Language: en
Added: Aug 19, 2024
Slides: 17 pages
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.