answersLogoWhite

0


Best Answer
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}
User Avatar

Wiki User

βˆ™ 10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you display hyperlinks without an underline in CSS?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you create CSS rule that will ensure the text in a paragraph is underlined?

p {text-decoration: underline;}Keep in mind this will underline ALL text with in your website, however if your looking to apply underline for just one individual paragraph you will need to create a div per example below:.:Sample paragraph:.CSS is the acronym for: 'Cascading Style Sheets'. CSS is an extension to basic HTML that allows you to style your web pages.That will be your HTML/paragraph, in order to render the underline you will add the following snippet w/In your Css as follows:div#paragraph {text-decoration: underline;}


How do you hide things with CSS?

I hope this what you mean; I will cut and paste part of one of my sites that are printer CSS: body { background: #fff; color: #000; font-family: "Times New Roman", serif: font-size: 12pt; } a { text-decoration: underline; } #head { text-align: center; } #pagetitle { display: block; } #left, #foot img { display: none; } div#head img { display: none; } p.unseen { display: none; }


How do you create anchor tag without underline?

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


What does it mean to incorrectly render CSS?

When CSS is not compliant with set standards that are applicable, different browsers applying styles to a document with that CSS can display totally different styles, or display styles that are unnexpected or far-fetched -- this is also called "Incorrect Rendering."


What is the role of CSS?

CSS defines the look of the website. It can control the background color of a website, how a link should look, the font, the font size, font color, bold or not bold, italic or not, underline or not, etc.


What property in the XHTML link tag when configuring CSS to display a printed page?

If you mean: When configuring CSS to display a printed page, what property is used in the XHTML link tag?The answer is: the media attribute or media="print"Example:


What are the differences between css and xsl?

CSS is used to format HTML documents (webpages); XSL is used to tell a browser in what format to display an XML document.


What is the safest way to display text to avoid conflicts with CSS?

Use <pre> tags.


Where can one find more information about the CSS display inline?

There are several places one can find more information about the CSS display inline. These websites include W3Schools, Robert NY Man, Stack Over Flow, and Design Shack.


What tag configures a block display area or division on a page in CSS?

The DIV tag will create a division on a page, and its default display value is block.


How do you set margins without CSS in HTML?

HTML does not have a built-in way to set margins without CSS. Margins are a property of Cascading Style Sheets (CSS), not of HTML. To set margins in HTML, you need to use CSS either directly in a β€œstyle” attribute of an HTML element, or by using an external CSS file linked to your HTML document.


How do you display an image on the homepage only using CSS or HTML?

HTML only can be used to display an image on homepage. Image SRC tag can be used to publish it.