(a+b)<Sup> </sup>=a<sup>+2ab+b<sup> </sup> . . Inserting and Deleting The text what you see on browser cannot delete or insert. But you can show a text as deleted or inserted.
<del> and <ins> tags are used to markup a segment of text as deleted or inserted respectively. These two tags are container tags. The text what you specify between <del> and </del> will be displayed as strike through. The text you specify between <ins> and </ins> will be shown as underlined.
Chapter Pages <html> <head> <title> Inserting and Deleting text </title> </head> <body> I am coming from <del> Madras </del> <ins> Chennai </ins> </body> </html> Illustration: . Usage of <del> and <ins> . . Strike through: To display a text as wrong text, the <s> tag can be used to show the text as strike through style.
The <s> and <del> tags are display the text in similar way. This is also a container tag. The text you specify between <s> and </s> will be display in strike through style. .
. Comparison of tags: A few tags do the same things you have learned so far. For example, <b> and <strong> , <i> and <em>, <u> and <ins> and so on. These tags may be shows the same output, but the usage of tags are varying.
The following table shows the usage of this kind of tags. Table: . Tag Usage Tag Usage Final Output <b> To show the text in bold <strong> To show important text Bold <i> To show the text as italics <em> To Call attention Italics <u> To show the text as underlined <ins> To insert a text Underline <s> To show the wrong text <del> To replaced or deleted text Strike through While writing HTML document, you should use the appropriate tags according to its usage. If you want show a text as underlined use < u > instead of <ins>.
. . The Center Tag Paragraphs can be centered with Align attribute with <p> tag. But for non-paragraph text contents can be centered with <center> tag.
The <center> tag is used to centralize