XHTML Basics - Part 10 Introduction This is the tenth part of my series, XHTML Basics. Every element that is displayed on the web page, such as the paragraph element, has the attribute called the Style attribute. The value of this attribute gives the color, size, position and other presentational aspects of the element. In this chapter we see how the style attribute can be used to give the background and foreground colors of elements. We shall not look at the other presentational aspects. In the... Sign in to see full entry.