answersLogoWhite

0

In one go in an external or internal style sheet, you could do this to make all them red:

h1, h2, p {color:red}

You can also do them individually, if you wanted different colours:

h1 {color:blue}

h2 {color:green}

p {color:red}

As inline styles, you could do them like this:

<h1 style="color:red">This heading is red</h1>

User Avatar

Wiki User

11y ago

What else can I help you with?

Related Questions

What are and used for in HTML?

HTML uses tags for its complete functionality. These tags are defined to do a certain work.


What is using a css class in a body section called?

Using CSS class in a body section is called inline style. You can use styles inside most HTML tags.


How do you get color on your HTML page?

There are 2 HTML tags that help you put color on your web pages. The first one is BGCOLOR and the other is COLOR. Using these tags along with a Hex color code you can create colorful web documents using HTML. There are too many hex color codes to list here so please "search the internet" using the search term "hex color codes" to find a site that will display them.BGCOLOR which defines the background color can be used with the BODY, TABLE and TR tags. The examples below show how they would be used.Yellow!COLOR which simple defines the color is used with the FONT tag.


What are built-in tags Like for HTML and CSS?

No tags are used in CSS. Tags are actually what CSS primarily styles.


What are deprecated tags in context of HTML?

A deprecated tag is one that is being phased out and at some future point will no longer work on new browsers. You are encouraged to avoid using deprecated tags. You should use either newer tags that do the same operations or do some of your work using styles. This can be a little bit more complicated at first and involves learning how to use styles and style sheets, but the advantages outweigh the difficulties. Most properly designed web pages use styles for a lot of their design, and avoid the need to use deprecated tags. It makes your pages and sites a lot easier to maintain and means that your pages will function well on most browsers into the future.


If you wanted to change the color of all text for links which are contained in paragraphs only which selector would you use?

You should change it all at once in the external stylesheet. If it does not have an external stylesheet, try looking within the &lt;head&gt; tags for the styles related to all paragraphs "P" or if no styles, then the text color will have to be changed within each &lt;p&gt; tag with the font color.


How can the background color for a website be changed using html code?

To change the color, one simply adds a new color code between the and tags. Lists of color codes can be found online at sites like quackit.


What is a file contaning definitions of tags and how they should be used in a web page?

HTML has its defined tags. What you are asking is XML and it allows you to define your own tags, many and as smart or stupid as you wish.


What are sets of styles that use common fonts colors and formats called?

Generally, sets of styles are called Cascading Style Sheets (CSS). These styles can define everything related to HTML tags.


What is the tags for all font size tags in HTML?

We no longer use tags for font sizes in HTML. At one time, however, we used the &lt;FONT&gt; tag, for font faces, size, and color. Now this kind of thing is handled using CSS, in order to maintain separation between the content structure and its presentation.


Discuss the detriment of using deprecated tags on an XHTML page What issues can someone run into if continued use of these tags are used on a web page?

Discuss the detriment of using deprecated tags on an XHTML page. What issues can someone run into with continued use of these tags?


How can you decorate a fabric suitcase?

Put multi color tags