Docsity

Using HTML5 Markup-Web Technologies-Lecture Slides, Slides of Web Programming and Technologies

Partial preview of the text

Download Using HTML5 Markup-Web Technologies-Lecture Slides and more Slides Web Programming and Technologies in PDF only on Docsity!

sing HTML5 Markup

docsity.com

is^ presentation he distinguishing characteristics of HTML5 syntaxhe new HTML5 sectioning elementsdding support for HTML5 elements in browsersTML5 document outlinesn overview of the additional HTML5 elementsow to convert a standard HTML page to HTML

covers:

docsity.com

.g.^ consider

headings

in^ HTML,

of^ which

there

are

vels:^

,

,

,

,

,

and^

.

endered

in^ the

browser,

the^

element

is^ the

rgest

and^

the^

element

is^ the

smallest.

here^

is^ no^

technical

reason

that^

prevents

you^

from

reating

a^ style

making

the^

element

larger

th

e^ . would

be^ semantically

confusing:

an^

eleme

not^ supposed

to^ be

larger

than

an^ .

docsity.com

ne^ of

the^ goals

of^ semantic

markup

is^ to

make

th

ode on

a^ page

logical

and^

consistent.

ogically

chosen

and^

consistent

code

is^ easier

to

pdate

and^

modify

for^ the

designer,

and^

it^ makes

t

eb^ page

more

flexible

and^

adaptable

for^ differen

ses,^ such

as^ websites

for^ mobile

devices.

emantic

markup

ensures

that^

even

pages

with

no

yle^ still

display

elements

that^

are^ comprehensibl

nd^ usable.

docsity.com

e^ HTML5 DOCTYPE tifying that a document is HTML5 is extremely simple and lesslex than either HTML 4.0 or XHTML 1.0.he DOCTYPE for the transitional version of HTML (4.0.1) !DOCTYPE HTML PUBLIC

"-//W3C//DTD HTML 4.

ransitional//EN"http://www.w3.org/TR/html4/loose.dtd"> he DOCTYPE for the strict version of XHTML 1.0 !DOCTYPE html PUBLIC

"-//W3C//DTD XHTML 1.

trict//EN"http://www.w3.org/TR/xhtml1/DTD/xhtml1-trict.dtd">

docsity.com

Content

Categories

etadata

content low^ contentectioning

content eading

content hrasing

content mbedded

content teractive

content

docsity.com

lements,

such

as^
ad>

Worldwide

Apparel

Intranet

ad>

docsity.com

>^ This

is^ flow

content

p>^ Lorem ipsum dolor

sit^ amet,

consectetur

dipisicing elit,

sed do

eiusmod tempor incididunt

bore et

dolore magna

aliqua.

Ut enim ad

minim

eniam,

quis nostrud exercitation

ullamco laboris n

t aliquip ex

ea^ commodo consequat.

docsity.com

Sectioning

Content

his^ category

is^ new

to^ HTML

and^

currently

includ

ur^ elements:

,

,

,

and

section>. he^ W3C

explains

sectioning

content

as^ “defin[ing

e^ scope

of^ headings

and^

footers.”

ectioning

content

is^ a^ subset

of^ flow

content;

aside>

Volunteer

Opportunities

^ Sort

and^ inspect

home^

goods^ and

supplies

for^ kids.

/aside>

docsity.com

Phrasing

Content

hrasing

content

is^ the

text^

of^ the

document,

whic

cludes

elements

that^

mark

up^ the

text^

within

a

aragraph. hrasing

content

is^ a^ subset

of^ flow

content.

p>^ The

advantage

of^ having

good

/strong>

hiking

boots

becomes

em>extremely

clear

after

your

third

day^ of

alking.

docsity.com

Embedded

Content

mbedded

content

is^ content

that^

imports

anothe

source

into^

your^

document

page,

such

as^ an

ima

r^ video. audio

src="high_seas_rip.mp3"

controls

reload="auto"

autobuffer>

/audio>

docsity.com

e^ HTML5 sectioningments TML5 contains the majority of tags found in both HTML 4.0 andHTML 1.0.he most notable new elements are categorized as sectioningements.he W3C explains sectioning content as “…defin[ing] the scope oadings and footers.”he four new elements in this category are

,^

nav>, and

. he^

and^

elements are also new, but are

chnically considered Flow content, not Sectioning content.

docsity.com

e^ new structural elementsduce the existing reliance oe^

tag

ically yould use theelement,ed with aclass orto definelayout ofis page. id=“header”>id=“nav”>Etc.

docsity.com