Here we'll go over some more text components. Note that your styling outputs won't be exactly the same, as this page uses the Bootstrap CSS Framework. We'll learn more about Bootstrap and web frameworks later when we cover CSS.
To make your font smaller or larger relative to the surrounding text, use the
<p>This is normal size text, <small>This is smaller</small>, and <big>This is bigger</big>.<p>
This is normal size text, This is smaller, and This is bigger.
To specify that some text should be highlighted, use the
<mark>Here's an example of some marked text.</mark>
Here's an example of some marked text.
To specify some text that should be deleted or inserted, use the
<del>Here is some text that is to be deleted<del>. <ins>Here is some text that is to be inserted</ins>.
Here is some text that is to be deleted.
This is useful if you want to let the user know that changes have been made, or an article has been updated.
To specify a short qutation, use the
<q> tag. For example:
<p>Google's goal is to <q>focus on the user</q>.</p>
Google's goals is to
focus on the user.
For longer quotes, we use the
<blockquote> tag. We can also include a
cite attribute which specifies the URL in which the quote came from.
Goodness is about character - integrity, honesty, kindness, generosity, moral courage, and the like. More than anything else, it's about how we treat other people.
- Dennis Prager
For abbreviations, we use the
<abbr> tag with the
title attribute. The title should have a value with the full phrase.
<abbr title="Hyper Text Markup Language"></title>
To notify where a term is defined, we use the
<dfn>HTML</dfn> is the standard markup language used to create webpages.
HTML is the standard markup language used to create webpages.
To write out one's contact information, use the
<address> tag. Note the use of the
<br> tag used to make a new line.
<address>Visit us at: example.com<br> 123 Fake Street<br> Burmingham, Oklahoma<br> USA </address>
Relieve spasms, tight muscles, trigger points and pressure points with the Body Back Buddy! This trigger point massage is designed to help you self-message any area of your body - especially those that are hard to reach. Keeping your muscles relaxes and out of contraction is importan in helping to reduce pain and prevent muscle injury.$ Check price
Want your web site to display more quickly? This book presents 14 specific rules that will cut 25% to 50% off response time when users request a page. Author Steve Souders, in his job as Chief Performance Yahoo!, collected these best practices while optimizing some of the most-visited pages on the Web.$ Check price