answersLogoWhite

0

What is the use of underline tag?

Updated: 8/9/2023
User Avatar

Wiki User

11y ago

Best Answer

You can use <S> or <Strike>. So you could have something like:

<STRIKE>This text will have a line through it</STRIKE>

The way to do it with styles, which is the way it really should be done now is:

<span style="text-decoration: line-through;">This text will have a line through it</span>

You won't always be using span as the tag. It will depend on what you are doing. The important part is the style part, which can be used in any appropriate tag for formatting text, like <P> or <DIV> or whatever you might be using.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

The proper way to underline text in HTML 4 or XHTML is using CSS. You want to add a stylesheet or style attribute to the tag which contains the text you want underlined. Like so:

<p>I really do enjoy spending time on <span style="text-decoration:underling;">Answers.com</span>.</p>

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

If you want to write something, and you already have HTML coding leading up to it, in underline, then do this:

<u>I am writing this in underline.</u>

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

It will underline text in the page.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the use of underline tag?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the tag used for scrollings in HTML?

You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.


What is the semantic difference between HTML tag and HTML text?

HTML text is formatted text that you view on a HTML formatted page, a HTML tag is a tag which defines the formatting of a selected area of text, i.e opening tag "&lt;u&gt;" "text to format here", followed by closing tag "&lt;/u&gt;" would underline the text that you wish to format. In short, HTML tag defines the format of the text. These basics can be applied to a range of different functions.


How do you display hyperlinks without an underline in CSS?

To remove an underline from a hyperlink in CSS you have to use text-decoration and set it to none. An example is below: a {text-decoration: none;} a:hover {text-decoration: underline;}a {text-decoration:none}


What tag do you use to embolden text?

You could use &lt;b&gt; i.e. bold tag but it is depreciated. Now you use the tag of style and font-thickness.


What HTML tag is used to mark the top of the page?

The first tag you use when developing an HTML document is the tag. The first tag you use for the main content of your page is the tag. is the tag that marks the top of an HTML page. The minimum required first like is , which starts the definition of the page content.

Related questions

Why is it NOT a good idea to use an underline tag in a webpage?

It is not a good idea to use underline in webpage. It is because the text on webpage gets real messy.


Where is the underline text command?

To underline text, you can use HTML &lt;u&gt; tag. Enclose the text you want to underline within &lt;u&gt; and &lt;/u&gt; tags. For example: &lt;u&gt;Underline this text&lt;/u&gt;.


How do you create anchor tag without underline?

Use the following style code in the &lt;head&gt; of your page: &lt;style type="text/css"&gt; a { text-decoration: none; } &lt;/style&gt;


Do you underline a picture title?

You can either use italics or an underline.


What is the use of hardware?

underline


What is the tag used for scrollings in HTML?

You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.You use the tag for scrolling in HTML.


In excel how do you underline the characters in a cell and not the entire cell?

If this is an Excel question, you can underline words the same as in MS Word - use the 'U' icon or 'Format-font-underline'. The format is called 'underline.'


Html Tag to change the front face?

Use the Font face= command with the attribute Value of the font you want. for example" This is arial font This is century font General formating could include bold will boldface the enclosed text. Use the size= "" or color = "" attributes to change the size, and color of the text. underline will underline the text. Italic Will display the text in italic.


Do you underline quotes?

No. Use quotation marks.


What is the horizontal line that is underneath the text?

An underline!An underline!An underline!An underline!


To add emphasis to text use the?

Use Bold, Italics or underline it.


Why type of punctuation mark do you use for plays?

underline it