Skip to content

Comment on HTML5 Boilerplate v0.9.5 Released

Comments

Can someone explain to me why their site - http://html5boilerplate.com/ - uses the <b> and <i> tag?

Whilst I'm pretty sure they're not using those b tags at the top for their semantic purpose (they're forming the cross thing that forms part of the background texture), b and i have both found their way back into HTML5 as fully acceptable and semantic tags for markup: http://www.whatwg.org/specs/web-apps/current-work/#the-i-ele...

I created the design, and it is a deliberate use of those tags to create graphical elements which you can see in the background. It should be diagonal in browsers that support CSS transforms, and vertical in browsers that dont.

http://html5doctor.com/i-b-em-strong-element/

I figured there was a great reason, I just didn't know how to begin finding that answer short of asking the experts.

The <b> tags are used to create the background effects with CSS3 instead of using a background image. <i> is also used as an inline element for semantic and styling purposes.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.