introduction to html5: part ii

73
Introduction to HTML5: Part II Syropoulos HTML Lists HTML Tables Video and Audio Various Elements Finale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction to HTML5: Part II Apostolos Syropoulos Xanthi, Greece [email protected] Introduction to HTML5 for members of the Erasmus+ founded project GAMES

Upload: apostolos-syropoulos

Post on 17-Mar-2018

28 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Introduction to HTML5: Part II

Apostolos Syropoulos

Xanthi, [email protected]

Introduction to HTML5 for members of theErasmus+ founded project GAMES

Page 2: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Presentation Outline

1 HTML Lists

2 HTML Tables

3 Video and Audio

4 Various Elements

5 Finale

Page 3: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

HTML Lists: Part 1

Three types of lists: unordered, ordered, and description lists.

Unordered list

<ul style="list-style-type:disc"><li> éclair</li><li> croissant</li><li> kouign amann</li>

</ul>

Ordered list

<ol type="1"><li> Paris-Brest</li><li> religieuse</li><li> mille-feuille</li>

</ol>

Page 4: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

HTML Lists: Part 1

Three types of lists:

unordered, ordered, and description lists.

Unordered list

<ul style="list-style-type:disc"><li> éclair</li><li> croissant</li><li> kouign amann</li>

</ul>

Ordered list

<ol type="1"><li> Paris-Brest</li><li> religieuse</li><li> mille-feuille</li>

</ol>

Page 5: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

HTML Lists: Part 1

Three types of lists: unordered,

ordered, and description lists.

Unordered list

<ul style="list-style-type:disc"><li> éclair</li><li> croissant</li><li> kouign amann</li>

</ul>

Ordered list

<ol type="1"><li> Paris-Brest</li><li> religieuse</li><li> mille-feuille</li>

</ol>

Page 6: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

HTML Lists: Part 1

Three types of lists: unordered, ordered, and

description lists.

Unordered list

<ul style="list-style-type:disc"><li> éclair</li><li> croissant</li><li> kouign amann</li>

</ul>

Ordered list

<ol type="1"><li> Paris-Brest</li><li> religieuse</li><li> mille-feuille</li>

</ol>

Page 7: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

HTML Lists: Part 1

Three types of lists: unordered, ordered, and description lists.

Unordered list

<ul style="list-style-type:disc"><li> éclair</li><li> croissant</li><li> kouign amann</li>

</ul>

Ordered list

<ol type="1"><li> Paris-Brest</li><li> religieuse</li><li> mille-feuille</li>

</ol>

Page 8: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

HTML Lists: Part 1

Three types of lists: unordered, ordered, and description lists.

Unordered list

<ul style="list-style-type:disc"><li> éclair</li><li> croissant</li><li> kouign amann</li>

</ul>

Ordered list

<ol type="1"><li> Paris-Brest</li><li> religieuse</li><li> mille-feuille</li>

</ol>

Page 9: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

HTML Lists: Part 1

Three types of lists: unordered, ordered, and description lists.

Unordered list

<ul style="list-style-type:disc"><li> éclair</li><li> croissant</li><li> kouign amann</li>

</ul>

Ordered list

<ol type="1"><li> Paris-Brest</li><li> religieuse</li><li> mille-feuille</li>

</ol>

Page 10: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

HTML Lists: Part 1

Three types of lists: unordered, ordered, and description lists.

Unordered list

<ul style="list-style-type:disc"><li> éclair</li><li> croissant</li><li> kouign amann</li>

</ul>

Ordered list

<ol type="1"><li> Paris-Brest</li><li> religieuse</li><li> mille-feuille</li>

</ol>

Page 11: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

HTML Lists: Part 2

Unordered list

<dl><dt>Macarons</dt><dd>A meringue-like cookie</dd><dt>Opera cake</dt><dd>An elegant gâteau</dd>

</dl>

Page 12: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

HTML Lists: Part 2

Unordered list

<dl><dt>Macarons</dt><dd>A meringue-like cookie</dd><dt>Opera cake</dt><dd>An elegant gâteau</dd>

</dl>

Page 13: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

HTML Lists: Part 2

Unordered list

<dl><dt>Macarons</dt><dd>A meringue-like cookie</dd><dt>Opera cake</dt><dd>An elegant gâteau</dd>

</dl>

Page 14: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

HTML Lists: Part 2

Unordered list

<dl><dt>Macarons</dt><dd>A meringue-like cookie</dd><dt>Opera cake</dt><dd>An elegant gâteau</dd>

</dl>

Page 15: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Let’s Practice

Create an HTML file with that will contain the following list:

<dl><dt>Macarons</dt><dd>A meringue-like cookie</dd><dt>Opera cake</dt><dd>An elegant gâteau</dd><dt>Crème brûlée</dt><dd>A delicious creme</dd><dt>Poire belle Hélène</dt><dd>A dessert made from pears</dd><dt>Tarte Tatin</dt><dd>Hotel Tatin signature dish</dd>

</dl>

Page 16: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Let’s Practice

Create an HTML file with that will contain the following list:

<dl><dt>Macarons</dt><dd>A meringue-like cookie</dd><dt>Opera cake</dt><dd>An elegant gâteau</dd><dt>Crème brûlée</dt><dd>A delicious creme</dd><dt>Poire belle Hélène</dt><dd>A dessert made from pears</dd><dt>Tarte Tatin</dt><dd>Hotel Tatin signature dish</dd>

</dl>

Page 17: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Let’s Practice

Create an HTML file with that will contain the following list:

<dl><dt>Macarons</dt><dd>A meringue-like cookie</dd><dt>Opera cake</dt><dd>An elegant gâteau</dd><dt>Crème brûlée</dt><dd>A delicious creme</dd><dt>Poire belle Hélène</dt><dd>A dessert made from pears</dd><dt>Tarte Tatin</dt><dd>Hotel Tatin signature dish</dd>

</dl>

Page 18: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Tables in General

Tables are used to display information in tabular form.

An HTML table is defined with the <table> tag.

Each table row is defined with the <tr> tag.

A table header is defined with the <th> tag.

By default, table headings are bold and centered.

A table data/cell is defined with the <td> tag.

The <caption> tag defines a table caption.

The <caption> tag must be inserted immediately after the<table> tag.

Page 19: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Tables in General

Tables are used to display information in tabular form.

An HTML table is defined with the <table> tag.

Each table row is defined with the <tr> tag.

A table header is defined with the <th> tag.

By default, table headings are bold and centered.

A table data/cell is defined with the <td> tag.

The <caption> tag defines a table caption.

The <caption> tag must be inserted immediately after the<table> tag.

Page 20: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Tables in General

Tables are used to display information in tabular form.

An HTML table is defined with the <table> tag.

Each table row is defined with the <tr> tag.

A table header is defined with the <th> tag.

By default, table headings are bold and centered.

A table data/cell is defined with the <td> tag.

The <caption> tag defines a table caption.

The <caption> tag must be inserted immediately after the<table> tag.

Page 21: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Tables in General

Tables are used to display information in tabular form.

An HTML table is defined with the <table> tag.

Each table row is defined with the <tr> tag.

A table header is defined with the <th> tag.

By default, table headings are bold and centered.

A table data/cell is defined with the <td> tag.

The <caption> tag defines a table caption.

The <caption> tag must be inserted immediately after the<table> tag.

Page 22: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Tables in General

Tables are used to display information in tabular form.

An HTML table is defined with the <table> tag.

Each table row is defined with the <tr> tag.

A table header is defined with the <th> tag.

By default, table headings are bold and centered.

A table data/cell is defined with the <td> tag.

The <caption> tag defines a table caption.

The <caption> tag must be inserted immediately after the<table> tag.

Page 23: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Tables in General

Tables are used to display information in tabular form.

An HTML table is defined with the <table> tag.

Each table row is defined with the <tr> tag.

A table header is defined with the <th> tag.

By default, table headings are bold and centered.

A table data/cell is defined with the <td> tag.

The <caption> tag defines a table caption.

The <caption> tag must be inserted immediately after the<table> tag.

Page 24: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Tables in General

Tables are used to display information in tabular form.

An HTML table is defined with the <table> tag.

Each table row is defined with the <tr> tag.

A table header is defined with the <th> tag.

By default, table headings are bold and centered.

A table data/cell is defined with the <td> tag.

The <caption> tag defines a table caption.

The <caption> tag must be inserted immediately after the<table> tag.

Page 25: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Tables in General

Tables are used to display information in tabular form.

An HTML table is defined with the <table> tag.

Each table row is defined with the <tr> tag.

A table header is defined with the <th> tag.

By default, table headings are bold and centered.

A table data/cell is defined with the <td> tag.

The <caption> tag defines a table caption.

The <caption> tag must be inserted immediately after the<table> tag.

Page 26: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Tables in General

Tables are used to display information in tabular form.

An HTML table is defined with the <table> tag.

Each table row is defined with the <tr> tag.

A table header is defined with the <th> tag.

By default, table headings are bold and centered.

A table data/cell is defined with the <td> tag.

The <caption> tag defines a table caption.

The <caption> tag must be inserted immediately after the<table> tag.

Page 27: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Let’s Practice Tables

Create an HTML file with that will contain the following table:

<table><caption>Monthly savings</caption><tr><th>Month</th><th>Savings</th>

</tr><tr><td>January</td><td>$100</td>

</tr></table>

Examine the result.

Page 28: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Let’s Practice Tables

Create an HTML file with that will contain the following table:

<table><caption>Monthly savings</caption><tr><th>Month</th><th>Savings</th>

</tr><tr><td>January</td><td>$100</td>

</tr></table>

Examine the result.

Page 29: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Let’s Practice Tables

Create an HTML file with that will contain the following table:

<table><caption>Monthly savings</caption><tr><th>Month</th><th>Savings</th>

</tr><tr><td>January</td><td>$100</td>

</tr></table>

Examine the result.

Page 30: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Let’s Practice Tables

Create an HTML file with that will contain the following table:

<table><caption>Monthly savings</caption><tr><th>Month</th><th>Savings</th>

</tr><tr><td>January</td><td>$100</td>

</tr></table>

Examine the result.

Page 31: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Videos

The <video> tag specifies video, such as a movie clip or othervideo streams.

Currently, there are 3 supported video formats for the <video>element: MP4, WebM, and Ogg.

Firefox supports all three formats.

A simple example

<video width="320" height="240" controls><source src="movie.mp4" type="video/mp4"><source src="movie.ogg" type="video/ogg">Your browser does not support the video tag.

</video>

Page 32: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Videos

The <video> tag specifies video, such as a movie clip or othervideo streams.

Currently, there are 3 supported video formats for the <video>element: MP4, WebM, and Ogg.

Firefox supports all three formats.

A simple example

<video width="320" height="240" controls><source src="movie.mp4" type="video/mp4"><source src="movie.ogg" type="video/ogg">Your browser does not support the video tag.

</video>

Page 33: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Videos

The <video> tag specifies video, such as a movie clip or othervideo streams.

Currently, there are 3 supported video formats for the <video>element: MP4, WebM, and Ogg.

Firefox supports all three formats.

A simple example

<video width="320" height="240" controls><source src="movie.mp4" type="video/mp4"><source src="movie.ogg" type="video/ogg">Your browser does not support the video tag.

</video>

Page 34: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Videos

The <video> tag specifies video, such as a movie clip or othervideo streams.

Currently, there are 3 supported video formats for the <video>element: MP4, WebM, and Ogg.

Firefox supports all three formats.

A simple example

<video width="320" height="240" controls><source src="movie.mp4" type="video/mp4"><source src="movie.ogg" type="video/ogg">Your browser does not support the video tag.

</video>

Page 35: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Videos

The <video> tag specifies video, such as a movie clip or othervideo streams.

Currently, there are 3 supported video formats for the <video>element: MP4, WebM, and Ogg.

Firefox supports all three formats.

A simple example

<video width="320" height="240" controls><source src="movie.mp4" type="video/mp4"><source src="movie.ogg" type="video/ogg">Your browser does not support the video tag.

</video>

Page 36: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Videos

The <video> tag specifies video, such as a movie clip or othervideo streams.

Currently, there are 3 supported video formats for the <video>element: MP4, WebM, and Ogg.

Firefox supports all three formats.

A simple example

<video width="320" height="240" controls><source src="movie.mp4" type="video/mp4"><source src="movie.ogg" type="video/ogg">Your browser does not support the video tag.

</video>

Page 37: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Audio Files

The <audio> tag specifies sound, such as music or other audiostreams.

Currently, there are 3 supported video formats for the <audio>element: MP3, WAV, and Ogg.

Firefox supports all three formats.

A simple example

<audio controls><source src="song.ogg" type="audio/ogg"><source src="song.mp3" type="audio/mpeg">Your browser does not support the audio tag.

</video>

Page 38: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Audio Files

The <audio> tag specifies sound, such as music or other audiostreams.

Currently, there are 3 supported video formats for the <audio>element: MP3, WAV, and Ogg.

Firefox supports all three formats.

A simple example

<audio controls><source src="song.ogg" type="audio/ogg"><source src="song.mp3" type="audio/mpeg">Your browser does not support the audio tag.

</video>

Page 39: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Audio Files

The <audio> tag specifies sound, such as music or other audiostreams.

Currently, there are 3 supported video formats for the <audio>element: MP3, WAV, and Ogg.

Firefox supports all three formats.

A simple example

<audio controls><source src="song.ogg" type="audio/ogg"><source src="song.mp3" type="audio/mpeg">Your browser does not support the audio tag.

</video>

Page 40: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Audio Files

The <audio> tag specifies sound, such as music or other audiostreams.

Currently, there are 3 supported video formats for the <audio>element: MP3, WAV, and Ogg.

Firefox supports all three formats.

A simple example

<audio controls><source src="song.ogg" type="audio/ogg"><source src="song.mp3" type="audio/mpeg">Your browser does not support the audio tag.

</video>

Page 41: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Audio Files

The <audio> tag specifies sound, such as music or other audiostreams.

Currently, there are 3 supported video formats for the <audio>element: MP3, WAV, and Ogg.

Firefox supports all three formats.

A simple example

<audio controls><source src="song.ogg" type="audio/ogg"><source src="song.mp3" type="audio/mpeg">Your browser does not support the audio tag.

</video>

Page 42: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Audio Files

The <audio> tag specifies sound, such as music or other audiostreams.

Currently, there are 3 supported video formats for the <audio>element: MP3, WAV, and Ogg.

Firefox supports all three formats.

A simple example

<audio controls><source src="song.ogg" type="audio/ogg"><source src="song.mp3" type="audio/mpeg">Your browser does not support the audio tag.

</video>

Page 43: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Audio

Create an HTML file with that will contain the following markup:

<!DOCTYPE html><html><body><audio controls><source src="hyena.wav" type="audio/wav">Audio element not supported.

</audio><p><strong>Note:</strong> No MP3 files!</p>

</body></html>

Page 44: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Audio

Create an HTML file with that will contain the following markup:

<!DOCTYPE html><html><body><audio controls><source src="hyena.wav" type="audio/wav">Audio element not supported.

</audio><p><strong>Note:</strong> No MP3 files!</p>

</body></html>

Page 45: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Audio

Create an HTML file with that will contain the following markup:

<!DOCTYPE html><html><body><audio controls><source src="hyena.wav" type="audio/wav">Audio element not supported.

</audio><p><strong>Note:</strong> No MP3 files!</p>

</body></html>

Page 46: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Playing Audio

Create an HTML file with that will contain the following markup:

<!DOCTYPE html><html><body><audio controls><source src="hyena.wav" type="audio/wav">Audio element not supported.

</audio><p><strong>Note:</strong> No MP3 files!</p>

</body></html>

Page 47: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

The <wbr> element

The <wbr> element is used to hyphenate text.

Here is how we should hyphenate a long word:

δεσοξυριβο-<wbr>ζονουκλεϊ-<wbr>νικό

I created a really narrow page to show the effect.

Page 48: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

The <wbr> element

The <wbr> element is used to hyphenate text.

Here is how we should hyphenate a long word:

δεσοξυριβο-<wbr>ζονουκλεϊ-<wbr>νικό

I created a really narrow page to show the effect.

Page 49: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

The <wbr> element

The <wbr> element is used to hyphenate text.

Here is how we should hyphenate a long word:

δεσοξυριβο-<wbr>ζονουκλεϊ-<wbr>νικό

I created a really narrow page to show the effect.

Page 50: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

The <wbr> element

The <wbr> element is used to hyphenate text.

Here is how we should hyphenate a long word:

δεσοξυριβο-<wbr>ζονουκλεϊ-<wbr>νικό

I created a really narrow page to show the effect.

Page 51: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

The <wbr> element

The <wbr> element is used to hyphenate text.

Here is how we should hyphenate a long word:

δεσοξυριβο-<wbr>ζονουκλεϊ-<wbr>νικό

I created a really narrow page to show the effect.

Page 52: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

The <wbr> element

The <wbr> element is used to hyphenate text.

Here is how we should hyphenate a long word:

δεσοξυριβο-<wbr>ζονουκλεϊ-<wbr>νικό

I created a really narrow page to show the effect.

Page 53: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

How to create a narrow page?

A narrow page is useful sometimes! Use CSS to make one.

</style>body

width: 250px;margin-left: auto;margin-right: auto;background-color: lightblue;

</style>

Create a web page that is 180 px wide.

Page 54: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

How to create a narrow page?

A narrow page is useful sometimes! Use CSS to make one.

</style>body

width: 250px;margin-left: auto;margin-right: auto;background-color: lightblue;

</style>

Create a web page that is 180 px wide.

Page 55: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

How to create a narrow page?

A narrow page is useful sometimes! Use CSS to make one.

</style>body

width: 250px;margin-left: auto;margin-right: auto;background-color: lightblue;

</style>

Create a web page that is 180 px wide.

Page 56: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

How to create a narrow page?

A narrow page is useful sometimes! Use CSS to make one.

</style>body

width: 250px;margin-left: auto;margin-right: auto;background-color: lightblue;

</style>

Create a web page that is 180 px wide.

Page 57: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

How do I write an address in a HTML document?

We need to use the <address> element.

<address>28 Oktovriou Str, 366<br>GR-671&nbsp;31&nbsp;&nbsp;XanthiGREECE-EU

</address>

Create a web page that contains your school’s mail address.

Page 58: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

How do I write an address in a HTML document?

We need to use the <address> element.

<address>28 Oktovriou Str, 366<br>GR-671&nbsp;31&nbsp;&nbsp;XanthiGREECE-EU

</address>

Create a web page that contains your school’s mail address.

Page 59: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

How do I write an address in a HTML document?

We need to use the <address> element.

<address>28 Oktovriou Str, 366<br>GR-671&nbsp;31&nbsp;&nbsp;XanthiGREECE-EU

</address>

Create a web page that contains your school’s mail address.

Page 60: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

How do I write an address in a HTML document?

We need to use the <address> element.

<address>28 Oktovriou Str, 366<br>GR-671&nbsp;31&nbsp;&nbsp;XanthiGREECE-EU

</address>

Create a web page that contains your school’s mail address.

Page 61: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

How to semantically delete text from an HTMLdocument?

The question is: How to make crystal clear that some text isdeleted and possibly replaced?

For example,

Here is how we can do it:

<p>My favorite color is <del>blue</del><ins>red</ins>!</p>

Page 62: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

How to semantically delete text from an HTMLdocument?

The question is: How to make crystal clear that some text isdeleted and possibly replaced?

For example,

Here is how we can do it:

<p>My favorite color is <del>blue</del><ins>red</ins>!</p>

Page 63: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

How to semantically delete text from an HTMLdocument?

The question is: How to make crystal clear that some text isdeleted and possibly replaced?

For example,

Here is how we can do it:

<p>My favorite color is <del>blue</del><ins>red</ins>!</p>

Page 64: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

How to semantically delete text from an HTMLdocument?

The question is: How to make crystal clear that some text isdeleted and possibly replaced?

For example,

Here is how we can do it:

<p>My favorite color is <del>blue</del><ins>red</ins>!</p>

Page 65: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

How to semantically delete text from an HTMLdocument?

The question is: How to make crystal clear that some text isdeleted and possibly replaced?

For example,

Here is how we can do it:

<p>My favorite color is <del>blue</del><ins>red</ins>!</p>

Page 66: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Final Exercise!

Create a simple web pageabout your school or yourfamily.

Page 67: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Final Exercise!

Create a simple web pageabout your school or yourfamily.

Page 68: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Finale

I introduced HTML lists.

We talked about HTML tables.

I explained how one can embed video and/or sound in HTMLpages.

I also presented some other interesting elements.

Thank you very much for your attention!

Page 69: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Finale

I introduced HTML lists.

We talked about HTML tables.

I explained how one can embed video and/or sound in HTMLpages.

I also presented some other interesting elements.

Thank you very much for your attention!

Page 70: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Finale

I introduced HTML lists.

We talked about HTML tables.

I explained how one can embed video and/or sound in HTMLpages.

I also presented some other interesting elements.

Thank you very much for your attention!

Page 71: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Finale

I introduced HTML lists.

We talked about HTML tables.

I explained how one can embed video and/or sound in HTMLpages.

I also presented some other interesting elements.

Thank you very much for your attention!

Page 72: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Finale

I introduced HTML lists.

We talked about HTML tables.

I explained how one can embed video and/or sound in HTMLpages.

I also presented some other interesting elements.

Thank you very much for your attention!

Page 73: Introduction to HTML5: Part II

Introduction toHTML5: Part II

Syropoulos

HTML Lists

HTML Tables

Video and Audio

Various Elements

Finale

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

.

Finale

I introduced HTML lists.

We talked about HTML tables.

I explained how one can embed video and/or sound in HTMLpages.

I also presented some other interesting elements.

Thank you very much for your attention!