answersLogoWhite

0


Best Answer

You can set the color of margin in CSS. The attribute margin-color is what sets it.

User Avatar

Wiki User

βˆ™ 9y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

βˆ™ 6y ago

You use CSS

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you color the area between margins using HTML or CSS?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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 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.


How do you remove the whitespaces above and below the list items that come when we create a UL in HTML?

By using css. Setting top and bottom margins generally does the trick


How do you put color on your text for websites?

If you're using HTML, the script of <font color="XXX">Text goes here</font>


Why would an HTML and CSS programmer want to implement negative margins?

To get a better view of things.


How do you write HTML Code?

You write in HTML by using a variety of codes such as <HTML><B><BR><UL><Color> ect, to tell the internet browser what to display, HTML coding is a way of getting the browser to display what you want it to, and where you want it to be placed.


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.


Where can one get an HTML color code chart?

One can get a color code HTML chart online. A great site too visit is html-color-codes.info on the site they have every color needed and wanted. The site even teaches users how to use these certain codes to change the color of Html. Lastly the site includes the HTML color code theory.


How do you print an HTML document?

Click on the File menu after opening the html document in the browser. Then click on Print Preview. After adjusting margins, click on Print to print the document


How do you change HTML attribute using HTML dom?

You can change HTML attributes easily. Using Dom that can be done using JavaScript.


Where can one find information about HTML colors?

There are a number of websites that give information about HTML colors. These include HTML Color Codes, Wikipedia, Color Scheme Designer and Color Hex.


How do you make a personal bio data using HTML?

bio data using html