官术网_书友最值得收藏!

Introduction

"On the web, a man should not be judged by the color of his skin but by the content of his content." - Internet meme

One of the most significant differences between HTML5 and all previous versions of HTML is that before we built generic <div>s and other such generic containers without much knowledge of what content would go in them. With the advent of HTML5, that comes to an end. To be correct according to the specification semantically, we need to know what the content is so we can wrap it with the most appropriate new element tag. While this may mean we developers have to think differently, a new challenge is exactly why we're here. In this chapter we'll look at some examples of how to do just that using several of HTML5's new elements.

"In case of conflict, consider users over authors over implementers over specifiers over theoretical purity." - Priority of Constituencies

Throughout this chapter, we'll show you how to use the new <article> element to mark up both blog posts and comments, add a meaningful publication date to an <article>, use the new <mark> element to highlight text, and how to note visual elements using the new <figure> element. We'll then turn our attention to some new methods of styling text with font replacement techniques, as well as adding drop shadows and gradients to our text.

主站蜘蛛池模板: 宜丰县| 江达县| 岳普湖县| 五家渠市| 南康市| 平罗县| 锡林浩特市| 温泉县| 调兵山市| 巢湖市| 曲阜市| 峨眉山市| 肃北| 高淳县| 颍上县| 安平县| 聂拉木县| 新宾| 黔西县| 罗江县| 金门县| 定州市| 韩城市| 万载县| 洮南市| 滦南县| 凤凰县| 龙井市| 留坝县| 舟山市| 罗山县| 南漳县| 门头沟区| 东兰县| 平谷区| 凌源市| 佛冈县| 泾阳县| 津南区| 建瓯市| 恩施市|