Sheet:1,Front 005_977279-ch01.indd 7 5 _ 9 7 7 2 7 9 - h 0 1 . i n d 1 d

THIS CHAPTERIS implement HTML5. Also, you’ll want to learn compatibility and to how hasstarted each are indevelopment that promise HTML5 browserswhich work with HTML5, ones which one of mostimportant the isto tasks fi from HTML that makes HTML5. At time, this new, what’s same and the what’s removed been 7 a general overview of ageneral overview what’s HTML5 INTRODUCING nd out HTML5 Web page that you’ve created. encounter they what when willsee users an (covered chapter) inthis that so you can learn get started, download HTML5 allthe browsers test HTML5 pages on your mobile too. device, To cally developed for you mobile so devices, can about some browsers of new the that are specifi S MA S HING HTML5 110/28/10 9:53PM - 0 / 2 8 / 1 0

9 :

5 CHAPTER 1 3

P M

Sheet:1,Back Sheet:2,Front 005_977279-ch01.indd 8 5 _ 9 8 7 7 2 7 9 - c PART I: h 0 1 . i n d d

8 THE LANGUAGE OFTHE WEB the fi the text editor such asNotepad ifyou’re Windows running or TextEdit ifyou’re on aMac. Save with little examples. Allyou have any to doistype of provided code the chapter inthis ina While we’re getting here, started you can have alittle creating fun and some viewing HTML5 is either built into or tag the created using CSS3. ( Th Th tells interpreter the inyour browser to create big text that like looks this: < For example, following the line, Figure 1-1:ContainersinHTML5. display your graphics and mediaon Web the page. Figure 1-1illustrates containers: opening and tag aclosing calledacontainer, tag, and container the your willstyle text or fi bulk of your knowledge to HTML5. And ifyou’re brand-new to working with HTML, you’ll If you’re familiar with previous versions of HTML and XHTML, you’ll able be to transfer the you how it to use to build your own structures. but youdrywall, can’t it. Imake In see language the book, this visible of and HTML show very works like frame the of abuilding —you know it’s there underneath allthat paint and languages, with HTML, allyou content, isthe see not underlying the language. Th word processor were —also created with markup languages. However, like allcomputer You to that may learn applications surprised several be day —for you every use example, your Most of content the on Internet the iscreated with HyperText Markup Language (HTML). CREATING WITH OVERVIEWTAGS:AN nd HTML5 quite simple. Essentially, allyou have to doisplace your content between an h1 earrow tell where container the to begin ( etext inside arrow the brackets > This isbigtext. le with extension the Element name Th isbig text. ). Everything inside container the isconfi containerand The

tagisinsidethe opening andclosingtags. Container =between Opening tag . > , and open then it inan HTML5 browser. To open aWeb < > is the code. In this case, h1 is the code for In code. code isthe h1isthe case, this big text. gured to sizeand the of style which tag, the

) and where to container endthe e language 110/28/10 9:53PM 0 / 2 8 / 1 0

9 : 5 3

P M 005_977279-ch01.indd 9 5 _ 9 7 7 2 7 9 - c h 0 1 . i n d d

9

ismadeupA tag of an element and attributes. Th INCORPORATING THENEWHTML5ELEMENTS HTML fi and locate fi the page, just your start browser and from then, menu the bar, File select how to use these elements.how these to use along with abrief description of Igive each. Later book, inthis lots of examples and explain To give you of elements new asense the inHTML5, Table 1.1shows elements, new allthe element container. For now, I’m just going terms the with to element, the use deal I’ll so properties of an element that you can to change code features of content the tag’s inthe actually isits atag element and attributes. Attributes are diff the