This font is 1.2 times the default font, or 20 pixels
|
|
<!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>font-size</title> <style rel='stylesheet' type='text/css'> body { font-size: medium; } p#larger { font-size: larger; } p#larger span { font-size: 20px; } span { background: mistyrose; } </style> </head> <body>
<p id='larger'> This font is 1.2 times the default font, or 20 pixels.<br /> <span>this is a test. </span> </p> </body> </html>
|
|
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|