<html>
<head>
<title>PRE Tag</title>
</head>
<body>
<pre>
This text is preformatted using the pre tag.
Below is a CSS rule.
p{background:yellow;
color:blue;
font-weight:bolder;
font-size:x-large;
}
</pre>
</body>
</html>The previous code produces this page in Mozilla Firefox:
![]() |
| Click to enlarge |
TIP: When displaying computer codes on your webpage it is advisable to use the </pre> tag.


0 comments:
Post a Comment