Lets begin with our Second Lecture.
Today we will have a look on these following topics,
* Heading Tags
* Random Text Generate
* Font Tag
* Size Tag
* Horizontal Ruler
* Background Color
* Strike Tag
Now we will discuss all the topics in detail,
1- Heading Tags:
In html, usually we say we have Six Heading Tags, which are,
<h1> </h1>
<h2> </h2>
<h3> </h3>
<h4> </h4>
<h5> </h5>
<h6> </h6>
To add any text in between the open and close heading tags simultaneously, we put curser in between the tags. Press "alt" and drag it towards down.
Input:
2- Random Text Generate:
Sometimes we need to write a random text inside our websites. For that purpose, we use a specific word "Lorem" to create that random text.
For e.g.
If I need to write a paragraph of 50 words for that I will enter,
e.g.<p>Lorem50</p>
3- Font Tag:
For font tag, we enter the keys,
<font>
For Adding A color:
And inside font tag we can also change color of the text like,
<font color="red">
For Size Tag:
We will add tag of size like this,
<font color="pink" size="10">
e.g.
Output:
4- Horizontal Ruler:
Basically, horizontal ruler is for adding a straight horizontal line under the text.
Enter <hr>, where you want to enter/add a line.
You can enter <hr> as many times as the horizontal lines are required.
e.g.
0 Comments