answersLogoWhite

0

What is CSS formating?

Updated: 10/27/2022
User Avatar

Wiki User

12y ago

Best Answer

Firstly, CSS formatting is unlike the use of the word formatting which is used to describe deleteing data or making a disk usable by a certain operating system.

CSS formatting is a method of controlling the style of HTML items without having to specify the style for each and every item repetatively.

CSS instructions sit either Internally to the HTML page or Externally to the HTML page but in both cases you have to tell the HTML that the you want it to use a specific CSS.

Each CSS onstruction consists of 2 parts, the Selector (the item you want to change be it a table, a paragraph or pretty much anything else) and a Declaration (what you what to happen to the Selected item.

The Declaration consists of a Property (font-size, color and so on) and a Value (a specicif size, color and so on); the 2 are sparated by a colon (:).

For example, When referenced in your HTML docuement the following CSS would make all Paragraphs use Arial font and color Blue:

p { font-family: arial; color: blue; }

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is CSS formating?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions