<!-- CSS:Basics plus snippet 3. --> <!-- Taking precedence over external stylesheets with inline styles. --> <!-- Note that this technique hinders our goal of separating content from presentation. --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>View snippet page</title> </head> <body> <!-- By using the 'style' attribute. --> <p style="text-decoration:underline; font-weight:bold">The quick brown fox jumped over the lazy dogs.</p> <!-- By using the 'span' element. --> <p>The quick <span style="color:#663300; font-weight:bold">brown</span> fox jumped over the lazy dogs.</p> </body> </html>