p font-family: serif;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en'> <head> <title>generic font-family</title> <style type='text/css'> body { font-size: 24px; } p { margin: 0; } p#serif { font-family: serif; } p#sans-serif { font-family: sans-serif; } p#monospace { font-family: monospace; } p#fantasy { font-family: fantasy; } p#cursive { font-family: cursive; } </style> </head> <body> <p id='serif'>serif</p> <p id='sans-serif'>sans-serif</p> <p id='monospace'>monospace</p> <p id='fantasy'>fantasy</p> <p id='cusive'>cursive</p> </body> </html>