answersLogoWhite

0

The XHTML code to embed an external stylesheet would look like:

<link rel="stylesheet" href="style.css" type="text/css" />

The CSS code would need to be placed in a separate document and would need to be saved as style.css. The CSS code need to make the background white and the text green would look like:

body {

background-color: #ffffff;

text-color: #008000;

}

This code will make your content display in green text against a white background.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Write the XHTML and CSS code for an embedded style sheet that configures a class called new that is bold and italic?

Place the code into the head of the webpage..new {font-style:italic;font-weight:bold;}in the body of the webpage where you want the style to be.if it is just for a word you would add span class. Of course closing the tags too.


Which type of CSS is coded in the body of the web page as an attribute of an Xhtml tag?

Embedded


How do you write a xhtml code?

You can write a XHTML code in same way as HTML. The only thing is that you have to close all tags.


What are some tips for writing XHTML?

# Write up multiple XHTML documents, attempting to not make any mistakes. # Write multiple HTML documents, and transform them into XHTML documents. # Browse forums or other online sources for HTML documents (or incorrect XHTML documents) that need help, markup-wise. # Take on projects involving XHTML coding.


Is XHTML 1.1 implemented by Firefox?

According to an IBM document ( http://www.ibm.com/developerworks/xml/library/x-ffox15.html ) XHTML 1.1 is supported by Firefox: "Mozilla Firefox 1.0 supports XHTML 1.0 Strict, Transitional, and Frameset, as well as XHTML 1.1 which is based on modularization of XHTML 1.0 Strict. XHTML 2.0 is still in the working draft stage. Some developers wonder how well XHTML 2.0 will be adopted because it's such a significant change from HTML and XHTML 1.x. I recommend that Web developers targeting Firefox (such as for embedded applications) serve XHTML 1.1. Unfortunately, this may not yet be practical for developers targeting the general Web."


What are the three flavors of XHTML?

(1) XHTML 1.0 Strict(2) XHTML 1.0 Transitional(3) XHTML 1.0 Frameset


What language was used to create XHTML?

HTML is in XHTML, some argue that XHTML is it's own markup


Is html a replacement for xhtml?

No. HTML existed before XHTML. XHTML combines XML and HTML, so it is an advancement on HTML.


Why we you use xhtml?

XHTML is used as a stricter view of HTML. People who like to make the code clean and nice use XHTML.


When was XHTML created?

XHTML 1.0 was established on January 26, 2000.


Which browser supports xhtml?

All modern browsers support XHTML.


What is the full form of XHTML?

XHTML stands for eXtensible HyperText Markup Language.