Что такое findslide.org?

FindSlide.org - это сайт презентаций, докладов, шаблонов в формате PowerPoint.


Для правообладателей

Обратная связь

Email: Нажмите что бы посмотреть 

Яндекс.Метрика

Презентация на тему Building the user interface by using HTML 5. Оrganization, input, and validation

Содержание

AgendaSemantic markupdiv elementheader and footer elementssection elementnav elementarticle elementaside elementHTML tablesOrdered and unordered listsForms and inputValidation
Building the User Interface by Using HTML5: Organization, Input, and ValidationVyacheslav Koldovskyy Last update: 19/03/2016 AgendaSemantic markupdiv elementheader and footer elementssection elementnav elementarticle elementaside elementHTML tablesOrdered and unordered listsForms and inputValidation Semantic MarkupTag names that are intuitiveMakes it easier to build and modify div ElementUsed for years to create structure of an HTML documentOften includes New HTML5 Elements for Structuring and Organizing Content header, footer, section, nav, article, and aside header and footer ElementsThe header element defines a header for a document, header and footer Elements (Continued)Can include multiple headers or footers in an HTML5 document header and footer Markup Example section ElementDefines a section in a document, such as a chapter, parts section Example nav ElementDefines a block of navigation links and is useful for creatingA nav Example nav Example article ElementDefines a part of an HTML document that consists of a aside ElementUsed for sidebars and notes—content that’s related to the current topic aside Example aside Example section, article, aside HTML Tables defines overall table defines rows defines column headers defines cells HTML Table Example HTML Table Example HTML colspan, rowspan Ordered ListOrders list entries using numbers, by defaultUses the tag with attributes:reversed: Ordered List Example Unordered ListDisplays list entries in a bulleted listUses a tagRound bullet symbol Unordered List Example Unordered List Example Forms and InputForm input is the information a user enters into fields Creating a FormUse the start and end tagsAll form content and fields are between tagsCommon syntax: Creating a Form (Continued)The fieldset element is used with many forms to Form with Fieldset Example Simple Form Example Simple Form Example Form required and email AttributesThe required attribute requires information in a field required Example Form placeholder AttributePlaceholder text is text displayed inside an input field when Form pattern AttributeThe pattern attribute provides a format (a regular expression) for Form pattern Attribute (Continued)You can use the pattern attribute with these types:textsearchurltelephoneemailpassword Form autofocus AttributeThe autofocus attribute moves the focus to a particular input ValidationThe process of verifying that information entered or captured in a form Validation (Continued)Automatic validation of input means the browser checks the data the Validation Example Practice Task Thank You!Copyright © 2010 SoftServe, Inc.ContactsEurope Headquarters 52 V. Velykoho Str.Lviv 79053,
Слайды презентации

Слайд 2 Agenda
Semantic markup
div element
header and footer elements
section element
nav element
article

AgendaSemantic markupdiv elementheader and footer elementssection elementnav elementarticle elementaside elementHTML tablesOrdered and unordered listsForms and inputValidation

element
aside element
HTML tables
Ordered and unordered lists
Forms and input
Validation


Слайд 3 Semantic Markup
Tag names that are intuitive
Makes it easier

Semantic MarkupTag names that are intuitiveMakes it easier to build and

to build and modify HTML documents
Makes it easier for

Web browsers and other programs to interpret
Developers can still use
in HTML5 documents; should use new structure elements whenever appropriate

Слайд 4 div Element
Used for years to create structure of

div ElementUsed for years to create structure of an HTML documentOften

an HTML document
Often includes a class or ID attribute
May

include CSS styles such as background-color, height, and width
Example:


Слайд 5 New HTML5 Elements for Structuring and Organizing Content

New HTML5 Elements for Structuring and Organizing Content header, footer, section, nav, article, and aside


header, footer, section, nav, article, and aside


Слайд 6 header and footer Elements
The header element defines a

header and footer ElementsThe header element defines a header for a

header for a document, section, or article. HTML 4.01

uses the header div (

Слайд 7 header and footer Elements (Continued)
Can include multiple headers

header and footer Elements (Continued)Can include multiple headers or footers in an HTML5 document

or footers in an HTML5 document


Слайд 8 header and footer Markup Example

header and footer Markup Example    Learning HTML5

Learning HTML5 Here comes

my text

Published


https://jsfiddle.net/koldovsky/qb664wjy/


Слайд 9 section Element
Defines a section in a document, such

section ElementDefines a section in a document, such as a chapter,

as a chapter, parts of a thesis, or parts

of a Web page whose content is distinct from each other
According to the W3C, must contain at least one heading and define something that would ordinarily appear in the document’s outline

Слайд 10 section Example

section Example

Слайд 11 nav Element
Defines a block of navigation links and

nav ElementDefines a block of navigation links and is useful for

is useful for creating
A set of navigation links as

a document’s primary navigation
A table of contents
Breadcrumbs in a footer
Previous-Home-Next links

Слайд 12 nav Example

nav Example

Слайд 13 nav Example

nav Example

Слайд 14 article Element
Defines a part of an HTML document

article ElementDefines a part of an HTML document that consists of

that consists of a “self-contained composition” independent from the

rest of the content in the document
Content set off by
tags can be distributed in syndication
Think of it as content that makes sense on its own

Слайд 15 aside Element
Used for sidebars and notes—content that’s related

aside ElementUsed for sidebars and notes—content that’s related to the current

to the current topic but would interrupt the flow

of the document if left inline

Слайд 16 aside Example

aside Example

Слайд 17 aside Example

aside Example

Слайд 18 section, article, aside

section, article, aside

Слайд 19 HTML Tables
defines overall table
defines rows
defines

HTML Tables defines overall table defines rows defines column headers defines

column headers
defines cells
adds a caption above or

below table
applies inline CSS styles
Long, scrolling tables use , , and tags

Слайд 20 HTML Table Example

HTML Table Example

Слайд 21 HTML Table Example

HTML Table Example

Слайд 22 HTML colspan, rowspan


HTML colspan, rowspan




 


I
II
III
IIII





1
2
3
4




Слайд 23 Ordered List
Orders list entries using numbers, by default
Uses

Ordered ListOrders list entries using numbers, by defaultUses the tag with

the tag with attributes:
reversed: Reverses the order of

the list
start number: Specifies the start value of the ordered list
type: Specifies list item marker, such as "1" for displaying decimal numbers

Слайд 24 Ordered List Example

Ordered List Example

Слайд 25 Unordered List
Displays list entries in a bulleted list
Uses

Unordered ListDisplays list entries in a bulleted listUses a tagRound bullet

a tag
Round bullet symbol is the default marker

for list items
Can change bullet symbols
For squares, add type="square" to the
    tag
    For empty circles, add type="circle"

Слайд 26 Unordered List Example

Unordered List Example

Слайд 27 Unordered List Example

Unordered List Example

Слайд 28 Forms and Input
Form input is the information a

Forms and InputForm input is the information a user enters into

user enters into fields in a Web or client

application form.
HTML5 introduces several new form and input element attributes; some are:
url for entering a single Web address
email for a single email address or a list of email addresses
search to prompt users to enter text they want to search for

Слайд 29 Creating a Form
Use the start and end

Creating a FormUse the start and end tagsAll form content and fields are between tagsCommon syntax:

tags
All form content and fields are between tags
Common

syntax:




Слайд 30 Creating a Form (Continued)
The fieldset element is used

Creating a Form (Continued)The fieldset element is used with many forms

with many forms to group related elements.
The tag

draws a box around individual elements and/or around the entire form.

Слайд 31 Form with Fieldset Example

Form with Fieldset Example

Слайд 32 Simple Form Example

Simple Form Example

Слайд 33 Simple Form Example

Simple Form Example

Слайд 34 Form required and email Attributes
The required attribute requires

Form required and email AttributesThe required attribute requires information in a

information in a field when the form is submitted.
The

email attribute requires the user to enter an email address.
Markup example:



Слайд 35 required Example

required Example

Слайд 36 Form placeholder Attribute
Placeholder text is text displayed inside

Form placeholder AttributePlaceholder text is text displayed inside an input field

an input field when the field is empty. It

helps users understand the type of information they should enter or select. When you click on or tab to the input field and start typing, the newly entered text replaces the placeholder text.
Markup example:


Слайд 37 Form pattern Attribute
The pattern attribute provides a format

Form pattern AttributeThe pattern attribute provides a format (a regular expression)

(a regular expression) for an input field, which is

used to validate whatever is entered into the field.
Markup example:
title="Employee ID is two capital letters followed by four digits">

Слайд 38 Form pattern Attribute (Continued)
You can use the pattern

Form pattern Attribute (Continued)You can use the pattern attribute with these types:textsearchurltelephoneemailpassword

attribute with these types:
text
search
url
telephone
email
password


Слайд 39 Form autofocus Attribute
The autofocus attribute moves the focus

Form autofocus AttributeThe autofocus attribute moves the focus to a particular

to a particular input field when a Web page

loads.
Markup example:
autofocus="autofocus" />

Слайд 40 Validation
The process of verifying that information entered or

ValidationThe process of verifying that information entered or captured in a

captured in a form is in the correct format

and usable before sending the data to the server
Some things verified during validation:
Required fields are empty
Email addresses are valid
Dates are valid
Text does not appear in a numeric field or vice versa

Слайд 41 Validation (Continued)
Automatic validation of input means the browser

Validation (Continued)Automatic validation of input means the browser checks the data

checks the data the user inputs.
Also referred to as

client-side validation
Server-side validation occurs when server validates data received from an input form

Слайд 42 Validation Example

Validation Example

Слайд 43 Practice Task

Practice Task

  • Имя файла: building-the-user-interface-by-using-html-5-organization-input-and-validation.pptx
  • Количество просмотров: 94
  • Количество скачиваний: 0