How to set text direction in HTML?

Sai Subramanyam
Published on 18-Jan-2018 11:30:26
To set text direction in HTML, use the style attribute. The style attribute specifies an inline style for an element. The style attribute is used with the CSS property direction to set direction. Just keep in mind, the usage of style attribute overrides any style set globally. It will override ... Read More

How to mark work title using cite tag in HTML?

Lakshmi Srinivas
Published on 18-Jan-2018 11:18:36
Work title can be the title for a book, a song, a painting, a movie, etc. To mark work title in HTML, use <cite>…</cite> tag. The <cite> tag indicates citation and whatever comes inside the tag represents work title.You can try to run the following code to mark work title ... Read More

How to mark abbreviation or acronyms in HTML?

Monica Mona
Published on 18-Jan-2018 11:13:44
To add abbreviation or acronym in HTML, use the <abbr> tag. Both abbreviation and acronym are the shortened versions and are represented as a series of letters. Some of the examples include, "Mr.", "MRP", "GMT", “NASA”, etc.You can try to run the following code to mark abbreviation or acronyms in ... Read More

How to markup postal address in HTML?

karthikeya Boyini
Published on 18-Jan-2018 11:09:39
To markup postal address in HTML, use the <address> tag. The <address>…</address> tag is to add contact information. It can also be used to add contact information for the author of an article or document.Just keep in mind too that each line should be followed by a <br> tag, as ... Read More

How to use blockquote in HTML?

Sharon Christine
Published on 18-Jan-2018 11:05:02
The <blockquote> tag is to indicate long quotations. It should contain only block-level elements within it and not just plain text. It specifies a section quoted from another source and contains only block-level elements.The <blockquote> tag also has an attribute, cite, which is used to specify the source of the ... Read More

How to use quotation marks in HTML?

Swarali Sree
Published on 18-Jan-2018 11:01:19
The <q> tag is used to add short quotation marks in HTML. Just keep in mind if the quotation goes for multiple lines, use <blockquote> tag. Browsers usually insert quotation marks around the q element.You can also use the cite attribute to indicate the source of the quotation in URL ... Read More

How to mark inserted text in HTML?

Samual Sam
Published on 18-Jan-2018 10:43:10
To mark inserted text in HTML, use the <ins>…</ins> tag. This is crucial in finding the differences between multiple versions of the same document. Also, use it to signify a range of text added to a document.You can try to run the following code to mark inserted text in HTMLExampleLive ... Read More

How to mark strikethrough text in HTML?

Sai Subramanyam
Published on 18-Jan-2018 10:50:33
To mark strikethrough text in HTML, use the <strike>…</strike> tag. It renders a strikethrough text. HTML deprecated this tag and it shouldn’t be used in HTML5. As an alternative, use the CSS text-decoration property. To use the CSS property, use the style attribute. The style attribute specifies an inline style ... Read More

How to mark deleted text in HTML?

Lakshmi Srinivas
Published on 18-Jan-2018 10:33:46
To mark deleted text in HTML, use the <del>…</del> tag. It renders a strikethrough text. HTML5 introduced the <del> tag. Before the <strike> tag was used to mark deleted text, which is now deprecated.Just keep in mind both the opening and closing tag is mandatory while using the <del>...</del> tag. ... Read More

How to underline a text in HTML?

Monica Mona
Published on 18-Jan-2018 10:28:18
To underline a text in HTML, use the <u> tag. The <u> tag deprecated in HTML, but then re-introduced in HTML5. Now it represents a text different from another text stylistically, such as a misspelled word.To underline a text, you can also use the style attribute. The style attribute specifies ... Read More
Advertisements