Professional Documents
Culture Documents
HTML Text Formatting
HTML contains several elements for defining text with a special meaning.
Example
<!DOCTYPE html>
<html>
<body>
</body>
</html>
Output
Example
<!DOCTYPE html>
<html>
<body>
</body>
</html>
Output
Example
<!DOCTYPE html>
<html>
<body>
</body>
</html>
Output
Example
<!DOCTYPE html>
<html>
<body>
</body>
</html>
Output
Example
<!DOCTYPE html>
<html>
<body>
<p>Browsers usually indent blockquote elements.</p>
<blockquote cite="http://www.worldwildlife.org/who/index.html">
For nearly 60 years, WWF has been protecting the future of nature. The world's
leading conservation organization, WWF works in 100 countries and is
supported by </blockquote>
</body>
</html>
Output
For nearly 60 years, WWF has been protecting the future of nature. The world's
Conservation organization, WWF works in 100 countries and is supported by
Example
<!DOCTYPE html>
<html>
<body>
<p>Browsers usually insert quotation marks around the q element.</p>
<p>WWF's goal is to: <q>Build a future where people live in harmony
with nature.</q></p>
</body>
</html>
Output
WWF's goal is to: Build a future where people live in harmony with nature.
Example
<!DOCTYPE html>
<html>
<body>
<address>
Visit us at:<br>
Example.com<br>
USA
</address>
</body>
</html>
Output
3.HTML Comments