An Introduction to Semantic Markup - preCharge Forums
It shows that you are unregistered. Please register with us by clicking Here
preCharge Forums


Nav Green LeftNav Right
preCharge Forums > Website Design & Development > Website Design » An Introduction to Semantic Markup


Reply
Tcat Right
 
LinkBack Thread Tools Display Modes Tcat Right
Old 07-23-2006   #1 (permalink)
Jamie
Senior Member
 
Jamie's Avatar
 
Join Date: Jul 2006
Location: Swansea, Wales, UK
Age: 20
Posts: 239
Default An Introduction to Semantic Markup

In a follow up to Building Accessible Sites here is a guide on using semantic markup:

When building a website it is sometimes all too easy to forget that the main thing you are doing is marking up text, many developers use heading and paragraph tags but with the rise of Cascading Style Sheets (CSS)] many developers forget about the semantic elements of markup.

Semantic tags are used to markup text that has a meaning other than its content. For example, if I enclose text in the code tag it demonstrates that that text is a example of source code for a computer program.

Here is a list of inline semantic tags that may be useful to you when marking up documents in the future:
  • cite - Demarcrate a source citation
  • code - Demarcrate a code snippet
  • dfn - Indicate a term is defined in the current location
  • em - Demarcrate that text should be emphasised
  • kbd - Indicate keyboard input
  • samp - Indicate that the contents reflect sample output, as from software
  • strong - Indicate that text should have a strong emphasis
  • sub - Indicate text should be rendered as subscript
  • sup - Indicate text should be rendered as superscript
  • var - Demarcrate text as a variable name

I hope the above list will help you see how you can use markup to convery not only the text but also its meaning

Jamie
__________________
Jamie is offline   Reply With Quote


Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Database Programming with Perl - an introduction to MySQL and DBI Ankita Perl 0 08-19-2006 10:35 AM
An Introduction To Css Amanda Graphics & Multimedia 3 09-09-2005 05:57 AM


footer left
All times are GMT. The time now is 12:31 AM.

DISCLAIMER: preCharge Risk Management is not responsible for any opinions, advice or comments expressed on the preCharge Community Forums.
preCharge® is a registered trademark of preCharge Risk Management | chargeback protection | Merchant Account Blog

Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC6

Student Loan Consolidation | Project Management Software | Gas Suppliers | Loans | Hosting

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49