Messing with HTML5 - Post ID 164769

User 117361 Photo


Ambassador
6,076 posts

Following up on a suggestion made by Inger, I thought I would start a thread for us to muddle and mingle with our observations, tips and struggles with the HTML5 markup language which is gradually kicking in. I will start up a similar thread for CSS3 and hope that lots of you will come in and share your experiences.

A good starting point for some of you might be CC's pdf book...
http://www.coffeecup.com/books/intro-to-html5-and-css3/ but wherever you begin, either by muddling along with the code in the HTML code editor or through study or whatever, come in and share to help us all start to build web sites for the future!
User 2304554 Photo


Registered User
2 posts

"Intro to HTML5 and CSS3" is the most out-of-date HTML5 tutorial I have seen. CC should be ashamed they are charging money for this. Either rewrite it or withdraw it.
User 184085 Photo


Ambassador
1,707 posts

I'm currently working on a couple of sites and aside from some Photoshop it is all Coffeecup and html5/css3.

I'm really liking it ;)

My first big lesson was with the Object tags, I used the following

<section id="content" class="centered opacity70 shadow">
<object data="content/welcome.html" type="text/html">
alt : <a href="content/welcome.html">Welcome Friends</a>
</object>
</section>


but couldn't get the object to style untill a fairly brainy person around here showed me that I needed to link a css file to the imported file (in this case welcome.html)

like this:

<link rel="stylesheet" href='../css/welcome.css' type="text/css" media="screen, projection" />

<section class="welcome">

<section class="header">
<h1>Welcome Friends</h1>
<h2></h2>
</section>

<article>
<p>.</p>
</article>

<footer>
</footer>
</section>
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.