Question:
html code syntax question?
Jim
2011-02-27 16:58:20 UTC
Hey folks very new to html trying to used an embedded css to make the background color black with white letters. I placed the following code into the header of the page but I must have the syntax off or something, as after saving it, when I run the page nothing has happened, still have default white background with black letters. A little help please! Here's what I've got, this is placed inside the head tag of the page.

Four answers:
2011-02-28 00:33:58 UTC
Just...







That will give you a black background with white text using embedded CSS.



CSS Tutorials:



http://www.handycss.com/

http://www.w3schools.com/Css/default.asp

http://www.csstutorial.net/

http://www.echoecho.com/css.htm

http://www.html.net/tutorials/css/



http://www.w3.org/Style/Examples/011/firstcss

http://htmldog.com/guides/cssbeginner/

http://www.davesite.com/webstation/css/

http://www.htmlcodetutorial.com/character_famsupp_193.html



Ron
2011-03-01 09:36:45 UTC
Just put what Irish said to do in your header, and the rest is automatic. You don't need to add anything inside the actual body tag. If you have any more questions, you might find answers at http://www.Learn2HTML.com where they have free tutorials on HTML and CSS.
whorley
2016-10-06 11:29:17 UTC
No, to view highlighted code interior the browser you will could wrap it into yet another layer of HTML your self and which may be the form of significant soreness that i don't even prefer to think of roughly it. you're able to write a Javascript piece to try this for you, nevertheless. As for highlighting purely, there are a number of editors that do it, yet for laptop, in my adventure, Context is the suitable AND unfastened. For Mac, TextWrangler is okay.
?
2011-02-27 17:10:12 UTC


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...