Welcome To HTML Class 2
Welcome To HTML Class 2
class 2.
What did we learn previously?
What is HTML?
What are webpages?
HTML structures
Elements, tags, and attributes.
<head>, <title> and <body>
HTML uses tags (characters that sit inside angled brackets) to give the
information they surround special meaning.
Tags usually come in pairs. The opening tag denotes the start of a piece of
content; the closing tag denotes the end.
Opening tags can carry attributes, which tell us more about the content of
that element.
To learn HTML you need to know what tags are available for you to use, what
they do, and where they can go.
Understanding HTML with Text
Well we all know what “headings” are, so let’s skip boring explanations.
1.Create a webpage or
HTML file named
“headings”.
You successfully did step 1.
1.Create a webpage or
HTML file named
“paragraph”.
You successfully did step 1.
2. Now input this code in between your paragraph.html
Wow you’re getting the hang of it
now a 2 minute break to digest
what we’ve learnt.
3. Bold <b> and Italics <i>
1. Line breaks
2. Horizontal rule
1. Line break <br />
break tag.
Now let’s get practical
1. Create a html file called “line-breaks”.
2. Just like we did earlier in the <br />, type in this code
<br /> in action
2. Ruling lines in a web page using
Horizontal rule <hr />