|Home » Articles » WEBSITE DESIGNING|
LESSON 4: HTML TEXT FORMATING
I think you may observe in websites texts with different size, colors and face. This is what we call Text Formating. This skill enables you to change text styles as you wish or according to your website.
Look at examples below.
Staryte is my favorite website --------------- This is bold and its Tag is <b>…..</b>
Staryte is my favorite website --------------- This is italics and its Tag is <i>…..</i>
Staryte is my favorite website ---------------- This is Underline and its Tag is <u>…..</u>
Staryte is my favorite website --------------- Here the word Staryte is superscripted by using tags <sup>…. </sup>
Staryte is my favorite website --------------- Here the word Staryte is subscripted by using tags <sub>…. </sub>
To make the text bolded, put <b> and close with </b> at the beginning and at the end of text that you wish to make it bolded.
<b>this text is bold</b> the result will be … this text is bold.
To make the text italic, put <i> and close with </i> at the beginning and at the end of text that you wish to make it italic.
<b>This text is italic</i> the result will be … This text is italic
Take the following code to your notepad and save them as webpage then preview to see the result.
The above code will help you to learn more about what we learnt before. I recommend checking how I arranged and how I wrote those codes careful.
The result will look like below:
ABOUT MY LIKES
My name is Some one, I live
in the world. I was born on 1st January, 1990. I like writing,
© My Test Webpage
The next lesson we shall deal with size and colors.
Thanks a lot, for comments and questions feel free to write in the box below.
|Views: 642 | Comments: 1 | ||
|Total comments: 1|