• 検索結果がありません。

HTML5プロフェッショナル認定試験 レベル1 ポイント解説無料セミナー

N/A
N/A
Protected

Academic year: 2018

シェア "HTML5プロフェッショナル認定試験 レベル1 ポイント解説無料セミナー"

Copied!
50
0
0

読み込み中.... (全文を見る)

全文

(1)

© LPI-Japan 2015. All rights reserved. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C; http://creativecommons.org/licenses/by/3.0/

HTML5

認定

試験

1

無料技術セ

2017

1

株式会社

・ ー・ ー

(2)

■会社概要

株式会社

http://www.kcc.co.jp/

IT

研修専用

http://www.kcc-itlearning.com/

■講師紹介

西日本

ンタ

IT

ンタ

所属

Linux

ネッ

関連

HTML5 JavaScript

Web

技術

Java ASP.NET

幅広い分

を担当

(3)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

3

HTML5

認定資格

1

試験概要

技術解説項目

1.HTML5

基礎知識

HTML

歴史

HTML5

・関連技術

対応

対応

2.

新しい要素 属性

・基本構文

・文書 論理構造

・ ン

要素

form

要素

3.

ン・

CSS3

4.API

基礎知識

API

セ 系

API

(4)

HTML5

認定

資格

1

(5)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

5

HTML5

認定資格 種類

対応し 静的

Web

ン ン を

HTML5

を使

ン・作成

間連携や最新

術 対応し

Web

ンや動的

Web

ン ン

開発・設計

Ver.2.0

2017

3

1

(6)

資格体系

HTML5

認定試験

HTML5

認定試験

所要時間:

90

ン ー 等 時間 含

試験問題数:

40

45

受験料:む

15,000

税別

認定条件:

HTML5

2

試験 合格

有意

HTML5

1

認定 保有

認定 有意性 期限:

5

年間

所要時間:

90

ン ー 等 時間 含

出題数:約

60

受験料:む

15,000

税別

認定条件:

HTML5

1

試験 合格

認定 有意性 期限:

5

年間

試験実施形式

CBT

実施

選択方式 ほ

キー ー 入力

問題 多少出題

(7)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

7

認定 証明

認定カード

認定証

認定者ロゴ

名刺用

認定証・認定 ー

認定

2

週間程度

登録

住所

(8)

HTML5

1

出題範囲

.

Webの基礎知識

.

.

TTP,

TTPS

8

.

.

T

の書式

9

.

.

Web関連技術の概要

6

1.2 CSS3

.

.

の基本

7

.

.

CSS

9

(9)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

9

HTML5

1

出題範囲

.

.

要素

属性の意味

10

.

.

要素

6

.

.

ンタ

要素

7

.

.

対応ペ

の作成

4

.

.

5

.

.

最適化

3

.

Web

(10)

HTML5

1

出題範囲

.

.

チメ

系AP 概要

5

.

.

系AP 概要

4

.

.

系AP 概要

8

.

.

通信系AP 概要

3

(11)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

11

HTML5

1

傾向 対策

幅広い出題範囲

出題範囲詳細を

網羅す

得意分野を く

実務 則し 問題

参考書 け 勉強

く 実機 確認す

CSS

を作成し 実際 確認す

理解 深

(12)

HTML5

1

傾向 対策

CBT

Computer Based Testing

試験

ー を操作し 問題 解答

試験中 問題 何度 繰 返し参照可能

試験終了 同時 結果 判明

出題種別

知識問題

ン 問題

記述問題

試験時間 有効活用

90

分 約

60

問 問題

四者択一

五者択一 複数選択 記入式

3

ーン

問題 し

あやふや 問題

を け

解答す

(13)

© LPI-Japan 2015. All rights reserved. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C; http://creativecommons.org/licenses/by/3.0/

技術解説項目

1.

HTML5

基礎知識

HTML

歴史

HTML5

HTML5

役割 関連技術

対応

(14)

HTML

歴史

HTML4.01

HTML5

1989

XHTML1.0

XHTML1.1

XHTML2.0

2000

2001

2009

7

月 開発打 切

HTML5

Canvas 2D

仕様策定 完了

http://www.w3.org/TR/html5

2014

10

(15)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

15

HTML5

CSS3

SVG

MathML

API

Web

Web

ワー ー

Web

・地理位置情報

API

HTML5

HTML5

HTML4.01

HTML5

使用

要素・属性

HTML5

削除

要素・属性

HTML5

追加

(16)

HTML5

文書 論理構造を定義す

CSS3

見栄え を表現す

仕様

ー 化

ー 単位

実装 可能

参照

CSS3

開発状況

http://www.w3.org/Style/CSS/current-work

JavaScript

振 舞い を与え

ン 対応し

API

充実

(17)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

17

DOM

HTML

文書や

XML

文書を操作す

API

http://www.w3.org/DOM/Activity

HTML

文書 階層構造

DOM

ー し 展開

要素や属性 参照や動的 編集

DOM (Document Object Model)

HTML

HEAD

BODY

H1

TITLE

DOM

id="h1"

HTML5 Sample

・要素 参照

element = document.getElementById(id)

・内容 設定・参照

設定

element.innerHTML

設定・参照

(18)

仕様書

非推奨

記述

UA

種類や ー

ンを意識す 必要

多様化 対応

Web

向け

API

対応

1/2

FireFox

Google Chrome

専用

ー ー ー

実装状況

(19)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

19

動画や音声 再生 対応し 要素

動画再生

<video src="sample.webm" ></video>

音声再生

audio

要素

<audio src="music.ogg" ></audio>

対応し 要素

図形描画

canvas

要素

<canvas width="300" height="200" id="canvas"></canvas>

対応

2/2

(20)

技術解説項目

2.

新しい要素・属性

・基本構文

・文書 論理構造

・新しい属性

Video

(21)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

21

例題

ン 再生

ン ン を埋 込

使う要素 し

最 適切

選び

A.<video>

B.<plugin>

C.<object>

(22)

大文字小文字を区別し い

文書型宣言

・・・

<!DOCTYPE html>

文字符号化方式 ・・・

<meta charset="utf-8">

UTF-8

推奨

要素を分類

https://www.w3.org/TR/html5/dom.html#element-dfn-categories

基本構文

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>HTML5 Sample</title>

</head>

<body>

<h1>HTML5 Sample</h1>

<p>canvas

要素

</p>

</body>

(23)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

23

機能的 意味的 関連 あ 記述を

文書 論理構造

1/2

HTML4.01

div

表現

・文書 論理構造 あい い

HTML5

(24)

header

ン見出 や 前書

文章 目次

記述

nav

ン ーや ン

記述

aside

脚注や 広告

本文 関連

区別

記述

い内容 記述

article

※ 新聞記事

文書内 複数 記事 扱う場合 各記事 記述

footer

文書 作成者や著作権

情報 記述

文書 論理構造

2/2

header

aside

(25)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

25

video

要素

UA

機能

動画 ン ン

再生

属性

source

要素

video

要素

動画 ン ン

指定

属性

記述例

H.264 Main profile video level 3 and Low-Complexity AAC audio in MP4 container

Theora video and Vorbis audio in Ogg container

ン ン

1/2

src

動画 ン ン

URL

指定

省略可 省略時

source

要素 指定

controls

操作 ン ー

表示

poster

静止画 ン ン

URL

loop

動画 繰 返 再生

autoplay

動画 自動再生

src

属性

ン ン

URL

必須

type

属性

MIME

や ー

<source src='video.mp4' type='video/mp4; codecs="avc1.4D401E, mp4a.40.2"'>

(26)

audio

要素

UA

機能

音声 ン ン

再生

属性

embed

要素

ン 必要

ン ン

埋 込

属性

canvas

要素

描画

属性

ン ン

2/2

src

動画 ン ン

URL

指定

省略可 省略時

source

要素 指定

controls

操作 ン ー

表示

preload

ン ン

読 込 動作

loop

動画 繰 返 再生

autoplay

動画 自動再生

width

表示領域 幅

src

ン ン

URL

指定

type

MIME

width

表示領域 幅

height

表示領域 高

(27)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

27

例題

以下 要素 説明 し

正しい

をす

選択せ

<form method="POST" action="sample.php">

<label for="sid">

商品名

</label>

<input id

=“

sid

name

=“

sname

class

=“

scls

required pattern="^[0-9A-Za-z]+$" >

</form>

A. input

要素 値 未入力 場合

商品名

表示

B. id

"sid"

要素 対し

商品名

関連付け

(28)

form

要素

form

要素

id

属性

関連付

input

要素

type

属性

email

RFC5322

入力

既定

可能

記述 ー

date

UA

機能

ン ー

表示

number

数値

min

=

最小値

max

=

最大値

color

UA

実装

表示

(29)

© LPI-Japan 2015. All rights reserved. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C; http://creativecommons.org/licenses/by/3.0/

技術解説項目

3.

ン・

CSS3

(30)

以下

sample.html

ー 表示し 場合

内背景色 組 合わ

せ し

正しい

を選択せ

sample.html

<!doctype html>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<style>

tr:nth-child(2n) td{ background-color : #0000ff}

tr:nth-of-type(3) td{ background-color : #ff0000}

tr:first-child td{ background-color : #00ff00}

tr[id^="test"] td { background-color : #00ffff}

</style>

</head>

(31)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

31

<body>

<table border="1" id="t1">

<caption align="top">***

製品一覧表

***</caption>

<tbody id="tbody">

<tr><td>A100</td><td name="name">

PC</td></tr>

<tr id="css_test"><td>B200</td><td name="name">

ノー

PC</td></tr>

<tr><td>C300</td><td name="name">

</td></tr>

<tr id="test_css"><td>D400</td><td name="name">

</td></tr>

</tbody>

</table>

<P id="kekka">

商品を選択し く

</P>

</body>

</html>

(32)

.緑 青 赤 水色

.緑 赤 水色 青

.青 緑 赤 水色

.青 赤 水色 青

(33)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

33

css

CSS3

1/3

用途

#idvalue

id

属性 値

idvalue

要素

E F

E

要素 先祖

F

要素

E > F

E

要素 親

F

要素

[attribute=value]

属性名

attribute

value

要素

[attribute^=value]

属性名

attribute

value

要素

[attribute$=value]

属性名

attribute

value

終わ 要素

E:nth-child(n)

n

番目 子 あ

E

要素

(34)

用途

#f00

#

3

ー ー

指定

rgb(255,0,0)

rgb( )

指定

0

255

0%

100%

rgba(255,0,0,0.2)

rgb( )

透明度

a

(1

0)

加え 指定

hsl(0,100%,50%)

色相 彩度 輝度

指定

hsla(0,100%,50%,0.2) hsl( )

透明度

a

(1

0)

加え 指定

色指定

(35)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

35

CSS3

新機能

用途

border-radius

n

角丸

n

・・・角の丸

の半径

box-shadow

a b c d

影付き文字

a

・・・水平方向の影の距離

正の値

=

右へ

負の値

=

左へ

b

・・・垂直方向の影の距離

正の値

=

負の値

=

c

・・・影のぼかし半径

d

・・・影の色

transform

scale(x,y)

拡大縮小

x

・・・

x

方向の倍率

y

・・・

y

方向の倍率

b

a

(36)

例題

を横置

(

幅 広い表示

)

場合

CSS

を適用 せ

指定 し

正しい

を選択せ

A. @media screen and (orientation: landscape)

B. @media screen and (device-aspect-ratio: portrait)

C. @media screen and (scan: landscape)

(37)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

37

1/2

種類 幅 高

解像度

ン ン を ン

ン す

特性 基 い

を容易 変更

特性を利用し

適用条

件を決定す

(38)

/

特性

2/2

用途

all

print

screen

画面

projection

tv

用途

width

横幅

height

orientation

横置

縦置

:landscape

:portrait

device-aspect-ratio

水平

/

垂直

特性

(39)

© LPI-Japan 2015. All rights reserved. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C; http://creativecommons.org/licenses/by/3.0/

技術解説項目

5.API

基礎知識

API

概要

Canvas

セ 系

API

概要

ン系

API

WebStorage

(40)

例題

ンキ

正しい

を選択せ

A.

を使

ン表示す 全

ー を自動生成す

B.body

要素

appcashe

属性

URI

を指定す

C.html

要素

manifest

属性

URI

を指定す

(41)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

41

HLS

HTTP Live Streaming

開発

動画配信技術

MPEG-DASH

ISO/IEC

標準化

動画配信方式

Media Source Extensions

<audio>

<video>

扱う

JavaScriptAPI

ー ン 配信

ン 機能

提供

W3C

勧告

2016/11/17

https://www.w3.org/TR/media-source/

(42)

Encrypted Media Extensions

ン ン 保護

選択

/

鍵交換 制御

ン 管理

実装

JavaScriptAPI

W3C

勧告候補

https://www.w3.org/TR/encrypted-media/

Canvas

図形 描画

描画

扱う

SVG

W3C

規定

SVG

Scalable Vector Graphics

記述

描画

DOM

操作

画像

扱う

(43)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

43

HTML

<canvas id="cvid" width="600" height="200" ></canvas>

JavaScript

var canvas = document.getElementById("cvid");

var ctx = canvas.getContext("2d");

ctx.beginPath();

ctx.beginPath();

//

の開始

ctx.moveTo(30,50);

//

直線を引く

ctx.lineTo(150,50);

ctx.lineTo(150,100);

ctx.lineTo(30,100);

ctx.closePath();

//

を終了す

ctx.strokeStyle = "rgb(290,70,88)";

//

色を指定す

ctx.stroke();

//

実際

線を引く

API

Canvas

(44)

Canvas

要素

2/4

CanvasRenderingContext2D

用途

ctx.moveTo(x,y)

指定の

標か

新規

を生成す

ctx.lineTo(x,y)

現在の

標か

(x,y)

の直線を描画す

書きの

ctx.closePath()

を終了し

新た

を設定す

ctx.strokeStyle

=rgb(r,g,b)

描画の色を指定す

r

・・・

赤の輝

0

255

g

・・・

緑の輝

0

255

b

・・・

青の輝

0

255

ctx.stroke()

実際

線を引く

ctx.fillStyle

=rgba(r,g,b,opaque)

つぶし

透明

の設定

(45)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

45

GeolocationAPI

GPS

等を使用し 地理位置情報を扱う

DeviceOrientation Event

傾 度合い 詳細 検出

Touch Events

ン を

ー す

ン を検出す

Pointer Events

入力

ン そ 他

ン を検出す

(46)

WebStorage

ン単位

永続的

ー を保存す 仕組

Indexed Database API

Indexed Database

を扱う

Application cache

を扱う

Web Workers

JavaScript

記述し

を ー ー ー

動作 せ 仕組

(47)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

47

ー 系

API

2/4

WebStorage

http://www.w3.org/TR/webstorage/

ー を保存す 仕組

… 永続的

ー を保存

… 一時的

ー を保存

5M

推奨

容量を

http://html5exam.jp/

5M

URL

キー

3

組 合わ

http://html5exam.jp/.jp : 80

キー

ー 番号

キー

name

東京 太郎

id

100

(48)

Appilication Cache

指定

html

manifest

属性

扱いを決

URI

を指定す

記述例

ー 系

API

3/4

(49)

All rights reserved. Copyrightc The Linux Professional Institute Japan. The HTML5 Logo is licensed under Creative Commons Attribution 3.0. Unported by the W3C

49

扱いを決

扱い 指定

CACHE

初回

ン ー

際 明示的 キ

FALLBACK

ソー

い場合

NETWORK

ー ー

接続し

ン ー す

ー 系

API

4/4

(50)

参照

関連したドキュメント

[r]

Rumsey, Jr, &#34;Alternating sign matrices and descending plane partitions,&#34; J. Rumsey, Jr, &#34;Self-complementary totally symmetric plane

(2)

[r]

PLENUMS: For plenum-type structures which use a sealed underfloor space to circulate heated and/or cooled air throughout the structure, apply the dilution at the rate of

テナント所有で、かつ建物全体の総冷熱源容量の5%に満

⑤将来構想 &#34;Kwansei Grand Challenge 2039&#34;に基づく中期総合経営計画を策定  将来構想 &#34;Kwansei Grand

模擬試料作製、サンプリング、溶解方法検討 溶解(残渣発生) 残渣評価(簡易測定) 溶解検討試験 Fe共沈アルカリ融解