--%>

Including CSS with the HTML Tag

Explain how to include the CSS within the HTML Tag?

E

Expert

Verified

If you wish to include the CSS within the HTML tag, you may use STYLE attribute as <TAG STYLE="css_definition" ...>. Of course, CSS definition will only applied to this instance of this tag. The following code will set background to gray on a <PRE> tag:

<p>Map of commonly used colors:</p>

<pre style="background-color: gray">

black #000000

white #ffffff

gray #7f7f7f

red #ff0000

green #00ff00

blue #0000ff

</pre>

   Related Questions in Programming Languages

  • Q : Self-created What is the difference

    What is the difference among a self-created certificate, Symbian Signed and a Symbian developer certificate?

  • Q : Define the term XSL-FO Define the term

    Define the term XSL-FO. Answr: A sub-element of XSL used for explaining font sizes, how information flows from one page to other and page layouts.

  • Q : Define Micro-Controller Define

    Define Micro-Controller.

  • Q : Use Finite-State Space Abstractions Use

    Use Finite-State Space Abstractions: In order to successfully apply explicit-state model checking, defects must be detectable in a sufficiently small state space. This can be achieved either by means of heuristics that constrain the way the state spac

  • Q : Define the term Statement terminator

    Define the term Statement terminator: The semicolon (;) is employed to point out the end of a statement.

  • Q : Explain Dynamic Language Runtime

    Explain Dynamic Language Runtime (DLR) briefly?

  • Q : Reference variables Reference variable

    Q : Software Quality Assurance and Software

    What real-life experience have you gained along with Software Quality Assurance as well as Software Quality Control?

  • Q : Use of private Q. Explain the use of

    Q. Explain the use of private, public, protected access specifies.  

  • Q : Explain Conditional operator

    Conditional operator: It is an operator taking three operands that is, a ternary operator. The conditional operator (?:) is employed in the form bexpr ? expr1 : expr2

    Discover Q & A

    Leading Solution Library
    Avail More Than 1422195 Solved problems, classrooms assignments, textbook's solutions, for quick Downloads
    No hassle, Instant Access
    Start Discovering

    18,76,764

    1943550
    Asked

    3,689

    Active Tutors

    1422195

    Questions
    Answered

    Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!

    Submit Assignment

    ©TutorsGlobe All rights reserved 2022-2023.