18
Fundamental s of

Fundamentals of HTML5

Embed Size (px)

DESCRIPTION

HTML5 has changed the Web as we know it. The newest markup language has some exciting features that, for example, make it easy to embed and play multimedia content on the web without having to use proprietary plugins like Adobe’s Flash. In this webinar, learn: What HTML5 is and what it can do New HTML5 tags Useful coding examples Testing and validation of your site Future of HTML5 Participants will be given server space to create their own page and will be required to have a basic HTML editor like Notepad, Notepad++ or Eclipse.

Citation preview

Page 1: Fundamentals of HTML5

Fundamentals of

Page 2: Fundamentals of HTML5

http://www.slideshare.net/chadmairn

@cmairn

Page 3: Fundamentals of HTML5

Virtual Petting Zoo/Discussion

Want to hangout?

gplus.to/chadmairn

anymeeting.com/chadmairn

Page 4: Fundamentals of HTML5

In this webinar, learn:

• What HTML5 is and what it can do• New HTML5 tags/elements/attributes• Useful coding examples• Uploading Files to a Web server• Testing and validation of your site• Future of HTML5

Page 5: Fundamentals of HTML5

HTML = Hypertext Markup Language

• Displays web pages in a web browser. • Web browser uses the tags to interpret the

content of the page.• HTML elements consisting of tags enclosed in

angle brackets (e.g., <html>)• Tags most commonly come in pairs like <h1>

and </h1>• Some elements are unpaired (e.g., <img>)

Page 6: Fundamentals of HTML5

• HTML5 will be the new standard for HTML.

• HTML 4.01 was born in 1999.

• HTML5 is still a work in progress.

• The major browsers support many of the new HTML5 elements and APIs.

Page 7: Fundamentals of HTML5

HTML <!DOCTYPE> Declaration

<!DOCTYPE html><html><head><title>Title of the document</title></head>

<body>The content of the document......</body>

</html>

The <!DOCTYPE> declaration is an instruction to the Web browser telling it what version of HTML the page is

written in. HTML5 is not based on SGML, and therefore does not require a reference to a DTD.

[Source: http://www.w3schools.com]

Page 8: Fundamentals of HTML5

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "

http://www.w3.org/TR/html4/strict.dtd">

Here is what a reference to a DTD looks like …

Page 9: Fundamentals of HTML5

Source: http://goo.gl/Bclus

Page 10: Fundamentals of HTML5

New HTML5 Elements<article><aside><audio><bdi><canvas><command><datalist> <details><embed><figcaption><figure><footer><header><hgroup><keygen>

<mark><meter><nav><output><progress><rp><rt><ruby><section><source><summary><time><track><video><wbr>

Page 11: Fundamentals of HTML5

Live Demo

Page 12: Fundamentals of HTML5

Creating an ebook using jQuery Mobile with <iframe> to embed video. No plugins!

Page 13: Fundamentals of HTML5

1. If you don't have an FTP application, then I recommend that you download and install the following: http://filezilla-project.org/download.php

2. Upload files to your directory (e.g., lastname_firstname).

3. When you begin to work with the FTP client, you will need to enter the following credentials:

•Host: marcomponline.com•Username: chadm•Password: java_cookie1

A quick screencast video demonstrating how to login using the FileZilla FTP Client can be found at http://www.youtube.com/watch?v=9VaM_wv0aQ4.

4. You will need either a text editor (TextEdit on mac or Notepad on PC) or a tool like Dreamweaver.

If you have problems, please contact Chad Mairn at (727) 537-6405 or at [email protected]

Uploading Files

Page 14: Fundamentals of HTML5

To test you work visit …

http://marcomponline.com/chadtest/Class/LastName_FirstName/

Page 15: Fundamentals of HTML5

Homework …• Pick 2 HTML5 tags (experiment with their

attributes) and add them to your practice Web site.

• Test and validate your site at http://validator.w3.org/

• Please take good notes because I’d like to spend some time next week discussing any issues you may have had using HTML5.

Page 16: Fundamentals of HTML5

Next Week …

• Share with the group good/bad experiences (e.g., what worked, what didn’t etc.)

• Other coding examples

• Google Analytics

• Discuss the future of HTML5

• Questions and answers …

Page 17: Fundamentals of HTML5

http://www.slideshare.net/chadmairn

@cmairn

Page 18: Fundamentals of HTML5

Let’s Hangout!

gplus.to/chadmairn