Text Styles
Bold
DescriptionThis tag makes the text bold. The bold tag looks like <B>. The starting tag is <B> and the closing tag is </B>. The text between these two tags is bold. Below is an example using the bold tag.
Code
<B>Hello World!</B>
Output
Hello World!
Practice
Italic
DescriptionThis tag makes the text italic. The italic tag looks like <I>. The starting tag is <I> and the closing tag is </I>. The text between these two tags is italicized. Below is an example using the italic tag.
Code
<I>Hello World!</I>
Output
Hello World!
Practice
Underline
DescriptionThis tag makes the text underlined. The underline tag looks like <U>. The starting tag is <U> and the closing tag is </U>. The text between these two tags is underlined. Below is an example using the underline tag.
Code
<U>Hello World!</U>
Output
Hello World!
Practice
Strike Through
DescriptionThis tag makes the text strikethrough (with a line through it). The strike tag looks like <S>. The starting tag is <S> and the closing tag is </S>. The text between these two tags has a strike through it. Below is an example using the strike through tag.
Code
<S>Hello World!</S>
Output
Hello World!
Practice
Typewriter
DescriptionThis tag makes the text appear smaller and with a different appearance. The typewriter tag looks like <TT>. The starting tag is <TT> and the closing tag is </TT>. The text between the two is affected. Here is an example using the typewriter tag.
Code
<TT>Hello World!</TT>
Output
Hello World!
Practice
Advertisements