From bfa5ce70d490a82007c0f4b67ddacc2efba2b34b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 2 Sep 2011 23:35:28 -0700 Subject: [PATCH] updated address examples --- docs/index.html | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/docs/index.html b/docs/index.html index de573406e5..52ea716149 100644 --- a/docs/index.html +++ b/docs/index.html @@ -354,13 +354,25 @@

Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Maecenas faucibus mollis interdum. Nulla vitae elit libero, a pharetra augue.

Note: It's still okay to use <b> and <i> tags in HTML5 and they don't have to be styled bold and italic, respectively (although if there is a more semantic element, use it). <b> is meant to highlight words or phrases without conveying additional importance, while <i> is mostly for voice, technical terms, etc.

Addresses

-

The <address> element is used for contact information for its nearest ancestor, or the entire body of work. Here’s how it looks:

-
- Twitter, Inc.
- 795 Folsom Ave, Suite 600
- San Francisco, CA 94107
- P: (123) 456-7890 -
+

The <address> element is used for contact information for its nearest ancestor, or the entire body of work. Here are two examples of how it could be used:

+ +
+
+
+ Twitter, Inc.
+ 795 Folsom Ave, Suite 600
+ San Francisco, CA 94107
+ P: (123) 456-7890 +
+
+
+
+ Full Name
+ first.last@gmail.com +
+
+
+

Note: Each line in an <address> must end with a line-break (<br />) or be wrapped in a block-level tag (e.g., <p>) to properly structure the content.

Abbreviations

For abbreviations and acronyms, use the <abbr> tag (<acronym> is deprecated in HTML5). Put the shorthand form within the tag and set a title for the complete name.