--%>

Basic Units of CSS

Specify the Basic Units of the CSS.

E

Expert

Verified

The basic unit of CSS includes a definition of style property for a selected HTML tag written within the following syntax:

html_tag_name {style_property_name: style_property_value}

For example:

/* set background color to black for the <BODY> tag */

BODY {background-color: black}

/* set font size to 16pt for the <H1> tag */

H1 {font-size: 16pt}

/* set left margin to 0.5 inch for the <BLOCKQUOTE> tag */

BLOCKQUOTE {margin-left: 0.5in}

   Related Questions in Programming Languages

  • Q : Compute the Total Shopper Spending in

    Most of the reports produced from the system compute the total dollars in purchases for a shopper. Process the following steps to build a function named TOT_PURCH_SF which accepts a shopper id as input and returns the total dollars which the shopper has spent with com

  • Q : Define Accessor method Accessor method

    Accessor method: A technique specifically designed to offer access to a private attribute of a class. By convention, we name accessors with a get prefix followed by the name of the attribute being accessed. For example, the accessor for an attribute n

  • Q : How can we start Array Index from Zero

    How can we start Array Index from Zero?

  • Q : New features of ASP.NET AJAX 4.0

    Explain the new features of the ASP.NET AJAX 4.0?

  • Q : Determining group ID of new file

    Explain various options available in order to determine the group ID of new file?

  • Q : What is Avoid Redundancy Avoid

    Avoid Redundancy: While not every form of redundancy is as bad from a verification perspective as it is from a maintenance point of view, behavioral redundancy to re-create (local) state can impose problems because the model checker does not distingui

  • Q : Explain the major elements of the ADO

    Explain the major elements of the ADO object model and it’s used?

  • Q : Explain the relationship between XHTML

    Explain the relationship between XHTML and the Web?

  • Q : What is Cursor Cursor : This is a

    Cursor: This is a visual representation of the existing position of the mouse on the user's virtual desktop. Cursor shapes are frequently set to symbolize the current state of a program – utilizing an hour glass shape to point out that the user

  • Q : Role of ScriptManagerProxy control?

    Explain the role of ScriptManagerProxy control?