Basics of Web Design: Html5 & Css3
Basics of Web Design: Html5 & Css3
4th Edition
ISBN: 9780134444338
Author: Terry Felke-Morris
Publisher: PEARSON
Expert Solution & Answer
Book Icon
Chapter 4, Problem 1RQ
Program Description Answer

When Cascading Style Sheet (CSS) is coded in the body of the Web page as an attribute of an HTML tag is referred as “Inline”.

Hence, the correct answer is option “B”.

Expert Solution & Answer
Check Mark

Explanation of Solution

Cascading Style Sheets (CSS):

Cascading Style Sheet is a computer language that is used to present the document written in a mark-up language like HTML, MXML, and AIML.

Inline:

  • • Inline is one of the most common ways to add CSS to HTML elements.
  • • Inline CSS is used to provide a unique style to a single HTML element.
  • • It uses the style attribute of a HTML element.

Example program of Inline CSS:

<html>

<body>

<h1 style="color:red;margin-right:25px;">Inline CSS</h1>

<p>This is an example program of Inline CSS.</p>

</body>

</html>

Output:

Screenshot of the output

Basics of Web Design: Html5 & Css3, Chapter 4, Problem 1RQ

The above HTML code shows how to change the colour of the heading “Inline CSS” to red and to place the heading 25pixels from the right side. A paragraph “This is an example program of inline CSS” is written in the default format.

Explanation for incorrect options:

Embedded CSS:

In “Embedded CSS”, the code will be present within the head section of the HTML code of a Webpage.

Hence, the option “A” is wrong.

External CSS:

“External Style Sheet” is used to change the entire look of the website by changing just one file.

Hence, the option “C” is wrong.

Imported CSS:

“Imported Style Sheet” is used to import or store the style sheet somewhere on the site as a separate file.

Hence, the option “D” is wrong.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
I need help in server client project. It is around 1200 lines of code in both . I want to meet with the expert online because it is complicated. I want the server send a menu to the client and the client enters his choice and keep on this until the client chooses to exit . the problem is not in the connection itself as far as I know.I tried while loops but did not work. please help its emergent
I need help in my server client in C language
Exercise docID document text docID document text 1 hot chocolate cocoa beans 7 sweet sugar 2345 9 cocoa ghana africa 8 sugar cane brazil beans harvest ghana 9 sweet sugar beet cocoa butter butter truffles sweet chocolate 10 sweet cake icing 11 cake black forest Clustering by k-means, with preprocessing tokenization, term weighting TFIDF. Manhattan Distance. Number of cluster is 2. Centroid docID 2 and docID 9.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Principles of Information Systems (MindTap Course...
Computer Science
ISBN:9781285867168
Author:Ralph Stair, George Reynolds
Publisher:Cengage Learning
Text book image
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Cengage Learning