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

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.

主站蜘蛛池模板: 富阳市| 专栏| 凤台县| 岱山县| 萨嘎县| 团风县| 白沙| 桃园县| 南川市| 屯门区| 达尔| 澄迈县| 平陆县| 灵璧县| 锦州市| 涞水县| 绥江县| 虹口区| 福贡县| 洞口县| 石景山区| 花莲市| 汾阳市| 临朐县| 南川市| 封丘县| 澄城县| 岗巴县| 碌曲县| 嘉善县| 隆子县| 黔西| 砚山县| 深水埗区| 崇信县| 广河县| 香港 | 台湾省| 广丰县| 宁陵县| 慈溪市|