To use Internal CSS you need to add <style> tags inside the <head> tags
For this example, we will make the webpage have red text with a black background
<style type='text/css'>
body {
background-color: black;
color: red;
}
</style>
Now let us put the <style> tag into the same webpage we did for the example on the XHTML HowTo page
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>The title of your page here</title>
<style type='text/css'>
body {
background-color: black;
color: red;
}
</style>
</head>
<body>
The content of the webpage goes here
</body>
</html>
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>The title of your page here</title>
<style type='text/css'>
body {
background-color: black;
color: red;
}
</style>
</head>
<body>
The content of the webpage goes here
</body>
</html>