--%>

Including CSS with the HEAD Tag

Describe how to include the CSS within the HEAD Tag?

E

Expert

Verified

If you wish to involve a CSS within the HEAD tag and apply to whole HMTL docuemnt, you may use STYLE tag as <STYLE TYPE="text/css">css_definition</STYLE>. The following code will set the body background to black and paragraph text to yellow:

<html><head>
<title>CSS Included</title>
<style type="text/css">
BODY {background-color: black}
P {color: yellow}
</style>
</head><body>
<p> Welcome to questions-interviews.com.
You should see this text in yellow on black background.</p>
</body></html>

   Related Questions in Programming Languages

  • Q : Content of a course in Moodle Normal 0

    Normal 0 false false

  • Q : Explain the differences among SEI

    What in your advice are the most important fundamental differences among SEI SW-CMM and ISO 9000-3?

  • Q : "Const" qualifier for pointers and

    In C++ an arguments to a function can be declared as constant as shown below:

    Q : Define software Define the term

    Define the term software?

  • Q : What do you mean by java AWT What do

    What do you mean by the term java AWT? Describe in brief.

  • Q : Define Deadlock Deadlock : A situation

    Deadlock: A situation which occurs whenever two threads each acquires the lock to one of a set of resources which they both require.

  • Q : Illustrates XML is an important

    Illustrates XML is an important development.

  • Q : Define Single line comment Single line

    Single line comment: A comment is in the form:     // this line will be avoided by the compiler.

  • Q : What is message queue Describe the

    Describe the message queue?

  • Q : Explain String String: It is an

    String: It is an instance of the String class. A string comprises of zero or more Unicode characters, and they are not mutable or immutable, once formed. The literal string is written between a pair of string delimiters ("), as:

    Discover Q & A

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

    18,76,764

    1953422
    Asked

    3,689

    Active Tutors

    1444067

    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.