1. Trang chủ
  2. » Vật lí lớp 11

Bài giảng Phát triển ứng dụng Web – Web Programming: Chương 4 - ThS. Lương Trần Hy Hiến

20 12 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

This could be a forum post, a magazine or newspaper article, a blog entry, a user- submitted comment, an interactive widget or gadget, or any other independent item of content.. 13.[r]

(1)

1

HTML5/CSS3 Course

Introduction to HTML5

(2)

2

(3)

Contents

• HTML5 Structure

• HTML5 Audio/Video • HTML5 Form

• HTML5 Canvas

(4)

New and Updated HTML5 Elements

HTML5 introduces 28 new elements:

<section>, <article>, <aside>, <hgroup>, <header>,<footer>, <nav>,

<figure>, <figcaption>, <video>, <audio>, <source>, <embed>, <mark>,<progress>,

<meter>, <time>, <ruby>, <rt>, <rp>,<wbr>, <canvas>, <command>, <details>,<summary>, <datalist>, <keygen> and <output>

(5)

HTML5 Structure

(6)

Structure

(7)

Structure

(8)

Structure

(9)

<section>

• The section element represents a generic section of a document or application A section, in this context, is a thematic grouping of content,

typically with a heading

(10)

<header>

• A header element is intended to usually contain the section's heading (an h1–h6 element or an

hgroup element), but this is not required The

header element can also be used to wrap a

section's table of contents, a search form, or any relevant logos

(11)

<hgroup>

• The hgroup element represents the heading of a section The element is used to group a set of

h1–h6 elements when the heading has multiple levels, such as subheadings, alternative titles, or taglines

(12)

<footer>

• The footer element represents a footer for its nearest ancestor sectioning content or

sectioning root element A footer typically

contains information about its section such as who wrote it, links to related documents,

copyright data, and the like

(13)

<article>

• The article element represents a self-contained

composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g in syndication This could be a forum post, a magazine or newspaper article, a blog entry, a user-submitted comment, an interactive widget or gadget, or any other independent item of content

(14)

<nav>

• The nav element represents a section of a page that links to other pages or to parts within the page: a section with navigation links

(15)

Block semantic element

<aside>

<figure>

(16)

<aside>

• The aside element represents a section of a page that consists of content that is tangentially

related to the content around the aside element, and which could be considered separate from

that content Such sections are often

represented as sidebars in printed typography

(17)

<figure>

• Specifies self-contained content, like illustrations, diagrams, photos, code listings, etc

(18)

Inline semantic element

• <mark> • <time> • <meter> • <progress>

(19)

<mark>

• Defines marked/highlighted text

(20)

<time>

• Defines a date/time

section element represents header h1– hgroup footer sectioning content sectioning root The article nav aside

Ngày đăng: 11/03/2021, 12:33

Xem thêm: