Page 87 - CA_165_V2.0_Flipbook
P. 87
<S> or <STRIKE> Tag
Type Function Attributes Contains Used Inside
Container tag To display a line None Text content to be Typically placed within
through the middle styled. <BODY> or other
of the text. container tags.
The syntax for using the <S> tag is as follows:
<S> or <STRIKE> Text </S> or </STRIKE>
For example:
<S> Available in Jharkhand Only </S>
Output:
Available in Jharkhand Only
The following HTML code uses text formatting tags (<B>, <I>, <U>, <S>) to style text:
<HTML>
<HEAD>
<TITLE>Using Text Highlightining Tags </TITLE>
</HEAD>
<BODY BGCOLOR = "AQUA">
<B> ORANGE EDUCATION</B>
<I>INDIA</I>
<P>
<U> A Complete Reference Book for Students </U>
</P>
<S> Available all over the world</S>
</BODY>
</HTML>
The output of the preceding HTML code is as follows:
Bold Effect Italic Effect
Underline Effect
Strikethrough Effect
Notes
The <STRIKE> tag is not supported in HTML5.
Introduction to HTML 85

