
I know no-one visits this site - it is essentially just a way for me to fool around with techniques to practice and test, etc.
I’m constantly visiting sites that provide information about coding and of course they display code snippets to learn from [read: steal].
They need ways to display the code. These are in the <code> tags, and also <pre> tags to keep the pre-formatted spacing in tact.
Of all the websites I’ve created, I don’t think I’ve ever needed to use these tags, even though I see them used so often.
This brings me back to why I’m posting… I just wanted some sort of excuse to use these tags. Here is the header section from the homepage. I’m sure this would have changed since this site has gone live or since this has been posted.
<header id="intro">
<h1>JV Designs</h1>
<h2>
Web design and development by Jason Varga.<br />
Specialising in clean, standards compliant websites using <abbr title="Extensive Hypertext Markup Language">XHTML</abbr> and
<abbr title="Cascading Stylesheets">CSS</abbr> code.
</h2>
</header>
So, this site is made using HTML5, and I have this weird way of laying out my code. My text blocks generally get indented from the tags. I dunno, I just like it.


Comments
Share your thoughts