84 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Sold between 100 and 1 000 dollars
  • United States
Oreius says

Ok I had a question. I write in xhtml and css and I wanted to make sure that my idea of a semantic website was correct.

I always include

DOCTYPE blah blah

html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”

meta http-equiv=”content-type” content=”text/html; charset=utf-8”

the head and body tags I end them all and when it is an open tag it is ended like this

I link to external style sheets.

Is that basically all? am I missing anything? is there anything else you can think of to include or make sure I do?

I want to improve my web skill set and have done 2 websites thus far and am about to start another one

Thanks in advance

174 posts
  • Author had a File in an Envato Bundle
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
nedalm1 says

When your web site gets through W3C Validator withour errors, everything is included and valid.

Here is the validator – http://validator.w3.org/

180 posts
  • Bought between 1 and 9 items
  • Has been a member for 4-5 years
  • United States
SuperMario290 says

that sounds about right. Just make sure to do what Aerendyl said and put your website through the validator and if you’re lucky everything will be correct!

1173 posts
  • Australia
  • Beta Tester
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 10 000 and 50 000 dollars
Motionreactor says

You absolutely are missing some things.

Semantics is different to just having well formed, validated XHTML .

Semantics is about the appropriate use of markup tags and metadata to give data meaning and context. So for example, using a heading tag on something that isn’t a heading is poor semantics. It makes it hard for a screen reader to determine properly what the document is about and a search engine too. Using citations, definition lists, emphasis tags correctly wraps a documents data in clear machine readable context. This makes the future of more intelligent automated web agents possible, such as search engines. If SEO matters to you, then semantic markup should matter to you too.

http://en.wikipedia.org/wiki/Semantic_HTML

Note that semantic markup is what you are probably interested in for now. The actual vision for a semantic web goes deeper than a small list of semantic markup conventions, into things such as RDF (Resource Description Framework).

http://en.wikipedia.org/wiki/Semantic_Web

HTML 5 takes us a step closer with new semantic tags such as header, nav, article, section, footer…

84 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Sold between 100 and 1 000 dollars
  • United States
Oreius says

Great point Motionreactor I will look into these.

I am just wanting to make sure I do it right I was taught a lot of things wrong so I basically had to learn from the bottom up.

Thanks everybody!

1173 posts
  • Australia
  • Beta Tester
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 10 000 and 50 000 dollars
Motionreactor says
Great point Motionreactor I will look into these.

I am just wanting to make sure I do it right I was taught a lot of things wrong so I basically had to learn from the bottom up.

Thanks everybody!

Nps, looks like you are doing it right in terms of XHTML . The key is to continually relearn and revisit your understanding of these things every once in a while.

I find Nettuts very useful for this, but also things like www.webdesignerwall.com and of course www.alistapart.com

84 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Sold between 100 and 1 000 dollars
  • United States
Oreius says

Ok thanks!

by
by
by
by
by
by