HTML avanzato e HTML5 (per cominciare)

Slides:



Advertisements
Similar presentations
WEB DESIGN TABLES, PAGE LAYOUT AND FORMS. Page Layout Page Layout is an important part of web design Why do you think your page layout is important?
Advertisements

HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Very quick intro HTML and CSS. Sample html A Web Title.
Tutorial 6 Creating a Web Form
Unit 20 - Client Side Customisation of Web Pages
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
More CSS - Page layout + HTML5 new features Boriana Koleva Room: C54
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Ch3: Introduction to HTML5 part 2 Dr. Abdullah Almutairi ISC 340 Fall 2014.
HTML5 new elements. The tag specifies independent, self- contained content. An article should make sense on its own and it should be possible to distribute.
HTML Tables and Forms Creating Web Pages with HTML CIS 133 Web Programming Concepts 1.
  Just another way to collect pieces together (like div, section)  Anything can be in there  Formatting just like all other elements.
Chapter 10 Form Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Mark Branom, Continuing Studies.  HTML5 overview – what’s new?  New HTML5 elements  New HTML5 features  Guided Demonstrations  Forms  Video  Geolocation.
Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
HTML B OOT C AMP Chapter 9 Forms Kirkwood Continuing Education © Copyright 2015, Fred McClurg All Rights Reserved.
Building the User Interface by Using HTML5: Organization, Input, and Validation Lesson 3.
Neal Stublen Improvements  New form elements  Assist with validation  Consistency across sites  Changes reduce the need for common.
CHAPTER 2 HTML & HTML5 II อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
HTML and CSS- Layout. HTML Layout Frame Table – Block HTML5 layout elements.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML. Basic HTML HTML document – HTML headings – to HTML paragraphs – HTML links – HTML images –
HTML Advanced: HTML 5. Introduction to HTML 5 These slides are based on source material found at the w3schools.com website.
The New Elements © Main Menu Structure Media Canvas Form Click on one of the categories below to view information about the new HTML5 elements in.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
HTML Forms.
HTML - Forms By Joaquin Vila, Ph.D.. Form Tag The FORM tag specifies a fill-out form within an HTML document. More than one fill-out form can be in a.
  Just another way to collect pieces together (like div, section)  Anything can be in there  Formatting just like all other elements  Always name.
HTML Forms. Slide 2 Forms (Introduction) The purpose of input forms Organizing forms with a and Using different element types to get user input A brief.
Forms Collecting Data CSS Class 5. Forms Create a form Add text box Add labels Add check boxes and radio buttons Build a drop-down list Group drop-down.
Internet & World Wide Web How to Program, 5/e. Copyright © Pearson, Inc All Rights Reserved.2 Revised by Dr. T. Tran for CSI3140.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
Web Technologies Lecture 3 Web forms. HTML5 forms A component of a webpage that has form controls – Text fields – Buttons – Checkboxes – Range controls.
Week 10: HTML Forms HNDIT11062 – Web Development.
1 Web Engineering Forms Lecture 05. FORMS Its how HTML does interactivity. There are quite new feature in HTML5. But the fundamental idea does not change.
2.4. Choose and configure HTML5 tags to organize content and forms Choose and configure HTML5 tags for input and validation. Building the User Interface.
HTML Elements: Forms and Controls Chapter 9 B. Ramamurthy.
HTML5 Semantic
2440: 141 Web Site Administration Web Forms Instructor: Joseph Nattey.
HTML 5.
>> Introduction to HTML: Forms
Web Development & Design Foundations with HTML5 7th Edition
HTML CS422 Dick Steflik.
Creating Page Layouts with CSS
PPT By:Gaurav Jaiswal Singsys Pte. Ltd.
Basic XHTML Tables XHTML tables—a frequently used feature that organizes data into rows and columns. Tables are defined with the table element. Table.
JavaScript Forms Adding User Input.
Web Development & Design Foundations with HTML5 7th Edition
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5
Chapter 3 Introduction to HTML5: Part 2
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Web Systems Development (CSC-215)
Forms Data Entry and Capture
HTML5 Level II Session III
Session IV Chapter 10 – How to Work with Forms and Data Validation
Web Development & Design Foundations with HTML5 8th Edition
Web Development & Design Foundations with HTML5
HTML Forms Internet Technology.
HTML Forms Internet Technology.
Basics of Web Design Chapter 10 Form Basics Key Concepts
HTML 5 SEMANTIC ELEMENTS.
Web Development & Design Foundations with HTML5
HTML5 - 2 Forms, Frames, Graphics.
Session III Chapter 10 – How to Work with Forms and Data Validation
Web Programming and Design
HTML5 Tags By Dr Derek Peacock
Presentation transcript:

HTML avanzato e HTML5 (per cominciare)

Argomenti Nuovi elementi semantici Nuovi elementi per il form Tip & Tricks 2

Struttura del documento Titolo nel browser

4

Header Rappresenta un contenitore I suoi elementi tipici sono: - logo o icone authorship information Si possono avere più in un documento Non può essere posto dentro, or another 5

Esempio Most important heading here Less important heading here Some additional information here Lorem Ipsum dolor set amet.... 6

Nav Barra di navigazione. Definisce un insieme di link di navigazione Non tutti il link devo esser posti dentro un Esempio: HTML | CSS | JavaScript | jQuery 7

Aside Contenuti laterali. Potrebbe esser posto come una barra laterale in un article. Molti browser visualizzano ed i tag successivi con il seguente valore di default: aside {display: block; } Esempio: My family and I visited The Epcot center this summer. Epcot Center The Epcot Center is a theme park in Disney World, Florida. 8

Article The tag specifies independent, self- contained content. An article should make sense on its own and it should be possible to distribute it independently from the rest of the site. Potential sources for the element: Forum post Blog post News story (notizia) Comment 9

Esempio Google Chrome Google Chrome is a free, open-source web browser developed by Google, released in but duckduckgo don't trace you 10

Section Definisce sezioni all'interno di un documento come capitoli, headers, footers, o qualunque altra sezione del documento. Esempio: WWF The World Wide Fund for Nature (WWF) is

Footer Rappresenta un contenitore I suoi elementi tipici sono: contact information (address, ) logo and/or icon authorship information copyright information sitemap back to top links related documents Si possono avere più in un documento 12

Modello senza CSS Modello con CSS Esempi con elementi semantici 13

body {font-family: Verdana, sans-serif; font-size:0.8em;} header, nav, section, article, footer {border:1px solid grey; margin:5px; padding:8px;} nav ul {margin:0; padding:0;} nav ul li {display:inline; margin:5px;} Il CSS degli esempi 14

Il form The tag is used to create an HTML form for user input. First name: Last name: 15

I pulsanti Click Me! 16

Nuovi e vecchi type per l'input Checkbox, radio, submit, reset, text, password, hidden (Già visti) button Defines a clickable button (mostly used with a JavaScript to activate a script) color Defines a color picker date Defines a date control (year, month and day (no time)) datetime-local Defines a date and time control (year, month, day, hour, minute, second, and fraction of a second (no time zone) Defines a field for an address file Defines a file-select field and a "Browse..." button (for file uploads) image Defines an image as the submit button month Defines a month and year control (no time zone) number Defines a field for entering a number range Defines a control for entering a number whose exact value is not important (like a slider control) search Defines a text field for entering a search string tel Defines a field for entering a telephone number time Defines a control for entering a time (no time zone) url Defines a field for entering a URL week Defines a week and year control (no time zone) 17

Esempio Un form con i più utili type di input 18

News & Curious (Curiosities) autocomplete="on/off" placeholder="article, section,…" required maxlength="20" src=”image.png” (solo per il type=image) min="1" max="10" step="1" 19

Esempio di datalist 20

Un accenno alle regular expression <input type="text" name="nickname"... pattern="[a-z]{1}[a-z_]{2,19}"...> 21

22

23 Fig.1 - Didascalia con il tag FIGCAPTION

DETAILS+SUMMARY tag The details tag is currently supported in Firefox, Opera, Chrome, and in Safari 6 24

Per evidenziare usa il tag questo testo verrà evidenziato 25

Se leggi questo, il tuo browser non supporta il tag HTML5 canvas. var c = document.getElementById("myCanvas"); var ctx = c.getContext("2d"); ctx.fillStyle = "#FF0000"; ctx.fillRect(0,0,150,75); 26

asp