
Y8 T1W4 Lesson 1: Text Alignment
Presentation
•
Other, Computers
•
8th Grade
•
Hard
Detha Prastyphylia
Used 2+ times
FREE Resource
22 Slides • 0 Questions
1
Align Attribute
Changing the text alignment of headings and paragraphs on HTML.
2
First, we need to learn
about Attribute in HTML
Attribute is a special keyword
used inside the opening tag
to control the tag's behaviour.
3
keyword="behaviour"
Above is the structure of an attribute.
Don't forget to use equal symbol = after the keyword,
and put the behaviour in the quotation marks " ".
4
<tag keyword="behaviour">
Above is how it looks like if we write
an opening tag complete with its attribute.
Don't forget to put space after the tag,
before we begin writing the attribute.
5
Today, we'll learn how to use
attributes to change text alignment.
How to use attributes to change text alignment
in a paragraph or in a heading in HTML?
6
<p>INSERT TEXT HERE</p>
This is how we usually write Paragraph tag, right?
What if we want to change its alignment?
7
align
…is the keyword of the attribute used
for changing the text alignment.
8
align="…"
…is how the attribute itself would look like.
Let's try applying it to a Paragraph 👉
9
<p align="…">INSERT TEXT HERE</p>
Example of how the opening tag would look like
if we want to have a paragraph with certain alignment.
10
11
12
13
Changing Text Alignment on HTML
Attribute Keyword:
align
Attribute Behaviour:
- center
- justify
- right
- left (default alignment)
14
<p align="center">INSERT TEXT HERE</p>
Changing the text alignment
of a paragraph aligned to the centre.
15
<p align="justify">INSERT TEXT HERE</p>
Changing the text alignment
of a paragraph aligned to both sides.
16
<p align="right">INSERT TEXT HERE</p>
Changing the text alignment
of a paragraph aligned to right side.
17
<p align="left">INSERT TEXT HERE</p>
Changing the text alignment
of a paragraph aligned to left side.
18
<p>INSERT TEXT HERE</p>
<p align="…">INSERT TEXT HERE</p>
Without using attribute
vs with using attribute.
19
What if I want to make a medium-sized heading with center text alignment, and it would say: HELLO WORLD
Please type down the HTML tag for that heading
and then submit to Zoom chat :)
20
<h3 align="center">HELLO WORLD</h3>
What if I want to make a medium-sized heading
with center text alignment, and it would say: HELLO WORLD
21
What if I want to make a big-sized heading with right text alignment, and it would say: THANK YOU ALL
Please type down the HTML tag for that heading
and then submit to Zoom chat :)
22
<h1 align="right">THANK YOU ALL</h1>
What if I want to make a big-sized heading
with right text alignment, and it would say: THANK YOU ALL
Align Attribute
Changing the text alignment of headings and paragraphs on HTML.
Show answer
Auto Play
Slide 1 / 22
SLIDE
Similar Resources on Wayground
18 questions
Compare and Contrast
Presentation
•
8th Grade
17 questions
MENGGUNAKAN KONDISI PENCABANGAN- INFORMATIKA 8
Presentation
•
8th Grade
18 questions
The Preterite: -AR Verbs
Presentation
•
8th Grade
16 questions
While
Presentation
•
KG
16 questions
Broadcasting Lesson 1
Presentation
•
8th Grade
17 questions
The Industrial Revolution
Presentation
•
8th Grade
18 questions
8.26 Jefferson vs. Hamilton
Presentation
•
8th Grade
16 questions
Linear Relationships
Presentation
•
8th Grade
Popular Resources on Wayground
10 questions
Main Idea and Supporting Details
Quiz
•
3rd - 6th Grade
20 questions
Math Review
Quiz
•
3rd Grade
14 questions
25-26 SY 8th Grade EOY Benchmark
Quiz
•
8th Grade
15 questions
Fast food
Quiz
•
7th Grade
20 questions
Math Review
Quiz
•
6th Grade
20 questions
Context Clues
Quiz
•
6th Grade
21 questions
EOY Grade 6 Benchmark Assessment - Content Skills
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
Discover more resources for Other
14 questions
25-26 SY 8th Grade EOY Benchmark
Quiz
•
8th Grade
26 questions
Declaration of Independence
Quiz
•
6th - 8th Grade
17 questions
guess the logo
Quiz
•
8th Grade
20 questions
Summer Trivia
Quiz
•
8th Grade
10 questions
Famous Brands and Their Logos
Interactive video
•
4th - 8th Grade
60 questions
FLACS Checkpoint A Review
Quiz
•
7th - 9th Grade
20 questions
summer trivia
Quiz
•
8th Grade
15 questions
8th Unit 8 : Unit Review Game
Quiz
•
8th Grade