html5 essential training

23
Essential Training. HTML5

Upload: kaloyan-kosev

Post on 12-May-2015

707 views

Category:

Education


1 download

DESCRIPTION

HTML5 Essential Training | Software Engineering and Management Master Class at Varna Free University

TRANSCRIPT

Page 1: HTML5 Essential Training

Essential Training.HTML5

Page 2: HTML5 Essential Training

HTML5 | Agenda Front-end Technologies HTML Basics & Evolution Terminology: Tags, Attributes and Elements Basic Document Structure Common Elements Live Demo Section Elements <div> Usage Live Demo HTML5 Semantic Elements Beyond Basics Useful Resources Time for Questions

Page 3: HTML5 Essential Training

HTML5 | Front-end

Front-end TechnologiesGeneral Overview.

Page 4: HTML5 Essential Training

HTML5 | Basics.

.html or .htm extention

HTML files can be created with text editors:

Notepad++, Sublime, Komodo… HTML editors (WYSIWYG Editors):

Adobe Dreamweaver, WebPage Maker...

Page 5: HTML5 Essential Training

HTML5 | Evolution.

1991 – HTML first mentioned,Tim Berners-Lee – HTML tags

1993 – HTML (first public version, published at IETF)1995 – HTML 2 – W3C1997 – HTML 3.2 – “Wilbur”1997 – HTML 4 – ”Cougar” – CSS 1999 – HTML 4.01 (final)2001 – XHTML (final)2008 – HTML5 / XHTML5 draft2011 – feature complete HTML52022 – HTML5 – final specification

Page 6: HTML5 Essential Training

HTML5 | Terminology.

Tags: Opening tag and closing tag<p>, </p>, <div>, </div>

Attributes: Properties of the tag<img src="myPic.jpg" width="300" height="300" />

Elements: Combination of opening, closing tag and attributes<p class="myClass">This is my first paragraph</p>

Page 7: HTML5 Essential Training

HTML5 | Common Attributes.

common: id, class, name, style specific: src, href, target

Page 8: HTML5 Essential Training

HTML5 | Document Structure.

Page 9: HTML5 Essential Training

HTML5 | Meta Tags

<head><meta charset="utf-8" /><meta name="viewport" content="width=device-width" />

<meta name="description" content="Webpage Short Description" />

<meta name="keywords" content="my, webpage, keywords" />

<meta name="author" content="Kaloyan Kosev" /></head>

Page 10: HTML5 Essential Training

HTML5 | Link Tags

<head>

<link rel="author" href="https://plus.google.com/110428200924089786332" />

<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">

<link rel="stylesheet" type="text/css" href="css/style.css" />

</head>

Page 11: HTML5 Essential Training

HTML5 | Common Elements

Live Demo.

Page 12: HTML5 Essential Training

HTML5 | Section Elements

<div> - creates logical divisions within a page.

Example:<div>

<p>Some small text here.</p><p>Something <strong>else.</strong></p>

</div>

Page 13: HTML5 Essential Training

HTML5 | <div> Usage

Live Demo.

Page 14: HTML5 Essential Training

HTML5 | Generic Page

Page 15: HTML5 Essential Training

HTML5 | Using HTML4

<html><head> … </head><body>

<div id="header"> … </div> <div id="navigation"> … </div> <div id="sidebar"> … </div> <div id="content"> … </div> <div id="footer"> … </div>

</body></html>

Page 16: HTML5 Essential Training

HTML5 | Using HTML5

<html><head> … </head><body>

<header> … </header> <nav> … </nav> <aside> … </aside> <section> … </section> <footer> … </footer>

</body></html>

Page 17: HTML5 Essential Training

HTML5 | Semantic Elements.

Page 18: HTML5 Essential Training

HTML5 | Beyond Basics

<video width="320" height="240" controls> <source src="movie.mp4" type="video/mp4"> <source src="movie.ogg" type="video/ogg">

</video>

<audio controls> <source src= "sound.ogg" type="audio/ogg"> <source src=“sound.mp3" type="audio/mpeg">

</audio>

Page 19: HTML5 Essential Training

HTML5 | Beyond Basics

Additional topics, related to HTML5 and other technologies:

<canvas> Local Storage Data Attributes Geolocation

Page 21: HTML5 Essential Training

Kaloyan Kosev,Web Developer

[email protected]

LinkedIn/superKaloFacebook/superKalo

Page 22: HTML5 Essential Training

Time for Questions.HTML5

Page 23: HTML5 Essential Training

Facebook Group:Software Engineering andManagement - Master Class

http://www.facebook.com/groups/1425392611009770/

Homework: Code the HTML layout of your wireframes

Output + Feedback