84 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 1+ items on Envato Market
+2 more
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
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Had an item featured in an Envato Bundle
  • Has collected 1+ items on Envato Market
+2 more
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
  • Has been part of the Envato Community for over 4 years
  • Has collected 1+ items on Envato Market
  • Located in 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
  • Has been part of the Envato Community for over 5 years
  • Located in Australia
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+3 more
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
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 1+ items on Envato Market
+2 more
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
  • Has been part of the Envato Community for over 5 years
  • Located in Australia
  • Has sold $10,000+ on Envato Market
  • Has been a beta tester for an Envato feature
+3 more
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
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 1+ items on Envato Market
+2 more
Oreius says

Ok thanks!

by
by
by
by
by
by