SlideShare a Scribd company logo
Powerpoint Templates
Page 1
Powerpoint Templates
HTML 5 New Features
By Ata Ebrahimi
www.AtaEbrahimi.com
Powerpoint Templates
Page 2
New Features
HTML5 introduces a number of new elements and attributes that helps
in building a modern websites. Following are great features introduced
in HTML5.
• New Semantic Elements: These are like <header>, <footer>, and
<section>.
• Forms 2.0: Improvements to HTML web forms where new attributes
have been introduced for <input> tag.
• Persistent Local Storage: To achieve without resorting to third-party
plugins.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 3
New Features
• WebSocket : A next-generation bidirectional communication
technology for web applications.
• Server-Sent Events: HTML5 introduces events which flow from web
server to the web browsers and they are called Server-Sent Events
(SSE).
• Canvas: This supports a two-dimensional drawing surface that you
can program with JavaScript.
• Audio & Video: You can embed audio or video on your web pages
without resorting to third-party plugins.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 4
New Features
• Geolocation: Now visitors can choose to share their physical
location with your web application.
• Microdata: This lets you create your own vocabularies beyond
HTML5 and extend your web pages with custom semantics.
• Drag and drop: Drag and drop the items from one location to
another location on a the same webpage.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 5
New Tags
• <article>
• <aside>
• <audio>
• <bdi>
• <canvas>
• <datalist>
• <details>
• <diaog>
• <embed>
• <figcaption>
• <figure>
• <footer>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 6
New Tags
• <header>
• <keygen>
• <main>
• <mark>
• <menuitem>
• <meter>
• <nav>
• <output>
• <progress>
• <rp>
• <rt>
• <ruby>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 7
New Tags
• <section>
• <source>
• <summary>
• <time>
• <track>
• <video>
• <wbr>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 8
Removed Tags
• <acronym>
• <applet>
• <basefont>
• <big>
• <center>
• <dir>
• <font>
• <frame>
• <frameset>
• <noframes>
• <strike>
• <tt>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 9
<article> Tag
Definition and Usage
The <article> tag specifies independent, self-contained content.
An article should make sense on its own and it should be possible to
distribute it independently from the rest of the site.
Potential sources for the <article> element:
• Forum post
• Blog post
• News story
• Comment
www.AtaEbrahimi.com |
Powerpoint Templates
Page 10
<article> Tag
Example
<article>
<h1>HTML 5 New Features Presentation</h1>
<p>HTML5 is a standard for structuring and presenting web content</p>
</article>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 11
<article> Tag
www.AtaEbrahimi.com |
Powerpoint Templates
Page 12
<aside> Tag
Definition and Usage
The <aside> tag defines some content aside from the content it is
placed in.
The aside content should be related to the surrounding content.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 13
<aside> Tag
Example
<p>My family and I visited The Hyper ME center this summer.</p>
<aside>
<h4>Hyper ME Center</h4>
<p>The Hyper ME Center is located in the west of Tehran.</p>
</aside>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 14
<aside> Tag
www.AtaEbrahimi.com |
Powerpoint Templates
Page 15
<audio> Tag
Definition and Usage
The <audio> tag defines sound, such as music or other audio streams.
Currently, there are 3 supported file formats for the <audio> element:
MP3, Wav, and Ogg:
Browser MP3 Wav Ogg
Internet Explorer YES NO NO
Chrome YES YES YES
Firefox YES YES YES
Safari YES YES NO
Opera YES YES YES
www.AtaEbrahimi.com |
Powerpoint Templates
Page 16
<audio> Tag
MIME Types for Audio Formats
Format MIME-type
MP3 audio/mpeg
Ogg audio/ogg
Wav audio/wav
www.AtaEbrahimi.com |
Powerpoint Templates
Page 17
<audio> Tag
Attributes
Attribute Value Description
autoplay autoplay
Specifies that the audio will start playing
as soon as it is ready
controls controls
Specifies that audio controls should be
displayed (such as a play/pause button
etc)
loop loop
Specifies that the audio will start over
again, every time it is finished
muted muted
Specifies that the audio output should be
muted
preload
auto
metadata
none
Specifies if and how the author thinks the
audio should be loaded when the page
loads
src URL Specifies the URL of the audio file
www.AtaEbrahimi.com |
Powerpoint Templates
Page 18
<audio> Tag
Example
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio tag.
</audio>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 19
<audio> Tag
www.AtaEbrahimi.com |
Powerpoint Templates
Page 20
<bdi> Tag
Definition and Usage
bdi stands for Bi-directional Isolation.
The <bdi> tag isolates a part of text that might be formatted in a different
direction from other text outside it.
This element is useful when embedding user-generated content with an
unknown directionality.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 21
<bdi> Tag
Example
<ul>
<li>User <bdi>hrefs</bdi>: 60 points</li>
<li>User <bdi>jdoe</bdi>: 80 points</li>
<li>User <bdi> ‫إيان‬</ bdi>: 90 points</li>
</ul>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 22
<canvas> Tag
Definition and Usage
The <canvas> tag is used to draw graphics, on the fly, via scripting
(usually JavaScript).
The <canvas> tag is only a container for graphics, you must use a script
to actually draw the graphics.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 23
<canvas> Tag
Example
<canvas id="myCanvas"></canvas>
<script>
var canvas = document.getElementById("myCanvas");
var ctx = canvas.getContext("2d");
ctx.fillStyle = "#FF0000";
ctx.fillRect(0, 0, 80, 80);
</script>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 24
<canvas> Tag
Attributes
Attribute Value Description
Height pixels
Specifies the height of
the canvas
width pixels
Specifies the width of the
canvas
www.AtaEbrahimi.com |
Powerpoint Templates
Page 25
<datalist> Tag
Definition and Usage
The <datalist> tag specifies a list of pre-defined options for an <input>
element.
The <datalist> tag is used to provide an "autocomplete" feature on
<input> elements. Users will see a drop-down list of pre-defined options
as they input data.
Use the <input> element's list attribute to bind it together with a
<datalist> element.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 26
<datalist> Tag
Example
<input list="browsers">
<datalist id="browsers">
<option value="Internet Explorer">
<option value="Firefox">
<option value="Chrome">
<option value="Opera">
<option value="Safari">
</datalist>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 27
<datalist> Tag
www.AtaEbrahimi.com |
Powerpoint Templates
Page 28
<details> Tag
Definition and Usage
The <details> tag specifies additional details that the user can view or
hide on demand.
The <details> tag can be used to create an interactive widget that the
user can open and close. Any sort of content can be put inside the
<details> tag.
The content of a <details> element should not be visible unless the
open attribute is set.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 29
<details> Tag
Example
<details>
<summary>Copyright 1999-2015.</summary>
<p> - by Ata Ebrahimi. All Rights Reserved.</p>
<p>All content and graphics on this presentation are the property of the
Ata Ebrahimi.</p>
</details>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 30
<details> Tag
Attributes
Attribute Value Description
open open
Specifies that the details
should be visible (open)
to the user
www.AtaEbrahimi.com |
Powerpoint Templates
Page 31
<dialog> Tag
Definition and Usage
The <dialog> tag defines a dialog box or window.
The <dialog> element makes it easy to create popup dialogs and
modals on a web page.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 32
<dialog> Tag
Example
<table>
<tr>
<th>January <dialog open>This is an open dialog window</dialog></th>
<th>February</th>
<th>March</th>
</tr>
<tr>
<td>31</td>
<td>28</td>
<td>31</td>
</tr>
</table>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 33
<dialog> Tag
Attributes
Attribute Value Description
open open
Specifies that the dialog
element is active and
that the user can interact
with it
www.AtaEbrahimi.com |
Powerpoint Templates
Page 34
<embed> Tag
Definition and Usage
The <embed> tag defines a container for an external application or
interactive content (a plug-in).
www.AtaEbrahimi.com |
Powerpoint Templates
Page 35
<embed> Tag
Example
<embed src="helloworld.swf">
www.AtaEbrahimi.com |
Powerpoint Templates
Page 36
<embed> Tag
Attributes
Attribute Value Description
height pixels
Specifies the height of
the embedded content
src URL
Specifies the address of
the external file to
embed
type media_type
Specifies the media type
of the embedded content
width pixels
Specifies the width of the
embedded content
www.AtaEbrahimi.com |
Powerpoint Templates
Page 37
<figcaption> Tag
Definition and Usage
The <figcaption> tag defines a caption for a <figure> element.
The <figcaption> element can be placed as the first or last child of the
<figure> element.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 38
<figcaption> Tag
Example
<figure>
<img src="img_pulpit.jpg" alt="The Pulpit Rock" width="304"
height="228">
<figcaption>Fig1. - A view of the pulpit rock in Norway.</figcaption>
</figure>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 39
<figure> Tag
Definition and Usage
The <figure> tag specifies self-contained content, like illustrations,
diagrams, photos, code listings, etc.
While the content of the <figure> element is related to the main flow, its
position is independent of the main flow, and if removed it should not
affect the flow of the document.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 40
<figure> Tag
Example
<figure>
<img src="img_pulpit.jpg" alt="The Pulpit Rock" width="304"
height="228">
</figure>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 41
<footer> Tag
Definition and Usage
The <footer> tag defines a footer for a document or section.
A <footer> element should contain information about its containing
element.
A <footer> element typically contains:
• authorship information
• copyright information
• contact information
• sitemap
• back to top links
• related documents
You can have several <footer> elements in one document.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 42
<footer> Tag
Example
<footer>
<p>Posted by: Hege Refsnes</p>
<p>Contact information: <a href="mailto:someone@example.com">
someone@example.com</a>.</p>
</footer>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 43
<footer> Tag
www.AtaEbrahimi.com |
Powerpoint Templates
Page 44
<header> Tag
Definition and Usage
The <header> element represents a container for introductory content or
a set of navigational links.
A <header> element typically contains:
• one or more heading elements (<h1> - <h6>)
• logo or icon
• authorship information
You can have several <header> elements in one document.
Note: A <header> tag cannot be placed within a <footer>, <address> or
another <header> element.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 45
<header> Tag
Example
<article>
<header>
<h1>Most important heading here</h1>
<h3>Less important heading here</h3>
<p>Some additional information here</p>
</header>
<p>This presentation designed by Ata Ebrahimi</p>
</article>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 46
<header> Tag
www.AtaEbrahimi.com |
Powerpoint Templates
Page 47
<keygen> Tag
Definition and Usage
The <keygen> tag specifies a key-pair generator field used for forms.
When the form is submitted, the private key is stored locally, and the
public key is sent to the server.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 48
<keygen> Tag
Example
<meter value="2" min="0" max="10">2 out of 10</meter><br>
<meter value="0.6">60%</meter>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 49
<keygen> Tag
Attributes
Attribute Value Description
autofocus autofocus
Specifies that a <keygen> element should
automatically get focus when the page
loads
challenge challenge
Specifies that the value of the <keygen>
element should be challenged when
submitted
disabled disabled
Specifies that a <keygen> element should
be disabled
form form_id
Specifies one or more forms the <keygen>
element belongs to
keytype
rsa
dsa
ec
Specifies the security algorithm of the key
name name Defines a name for the <keygen> element
www.AtaEbrahimi.com |
Powerpoint Templates
Page 50
<main> Tag
Definition and Usage
The <main> tag specifies the main content of a document.
The content inside the <main> element should be unique to the
document. It should not contain any content that is repeated across
documents such as sidebars, navigation links, copyright information, site
logos, and search forms.
Note: There must not be more than one <main> element in a document.
The <main> element must NOT be a descendant of an <article>,
<aside>, <footer>, <header>, or <nav> element.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 51
<main> Tag
Example
<main>
<h1>Web Browsers</h1>
<p>Google Chrome, Firefox are the most used browsers today.</p>
<article>
<h1>Google Chrome</h1>
<p>Google Chrome is a free web browser developed by Google,
released in 2008.</p>
</article>
<article>
<h1>Internet Explorer</h1>
<p>Internet Explorer is a free web browser from Microsoft</p>
</article>
</main>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 52
<mark> Tag
Definition and Usage
The <mark> tag defines marked text.
Use the <mark> tag if you want to highlight parts of your text.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 53
<mark> Tag
Example
<p>Do not forget to buy <mark>milk</mark> today.</p>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 54
<menuitem> Tag
Definition and Usage
The <menuitem> tag defines a command/menu item that the user can
invoke from a popup menu.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 55
<menuitem> Tag
Example
<menu type="context" id="mymenu">
<menuitem label="Refresh" onclick="window.location.reload();"
icon="ico_reload.png">
</menuitem>
<menu label="Share on...">
<menuitem label="Twitter" icon="ico_twitter.png"
onclick="window.open('//twitter.com/intent/tweet?text='+window.location.href);">
</menuitem>
<menuitem label="Facebook" icon="ico_facebook.png"
onclick="window.open('//facebook.com/sharer/sharer.php?u='+window.location.
href);">
</menuitem>
</menu>
<menuitem label="Email This Page"
onclick="window.location='mailto:?body='+window.location.href;"></menuitem>
</menu>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 56
<menuitem> Tag
Attributes
Attribute Value Description
checked Checked
Specifies that the command/menu item should be checked
when the page loads. Only for type="radio" or
type="checkbox"
command
default default
Marks the command/menu item as being a default
command
disabled disabled Specifies that the command/menu item should be disabled
icon URL Specifies an icon for the command/menu item
label text
Required. Specifies the name of the command/menu item,
as shown to the user
radiogroup groupname
Specifies the name of the group of commands that will be
toggled when the command/menu item itself is toggled.
Only for type="radio"
type
checkbox
command
radio
Specifies the type of command/menu item. Default is
"command"
www.AtaEbrahimi.com |
Powerpoint Templates
Page 57
<meter> Tag
Definition and Usage
The <meter> tag defines a scalar measurement within a known range,
or a fractional value. This is also known as a gauge.
Examples: Disk usage, the relevance of a query result, etc.
Note: The <meter> tag should not be used to indicate progress (as in a
progress bar). For progress bars, use the <progress> tag.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 58
<meter> Tag
Example
<meter value="2" min="0" max="10">2 out of 10</meter><br>
<meter value="0.6">60%</meter>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 59
<meter> Tag
Attributes
Attribute Value Description
form form_id
Specifies one or more forms the <meter>
element belongs to
high number
Specifies the range that is considered to be a
high value
low number
Specifies the range that is considered to be a
low value
max number Specifies the maximum value of the range
min number Specifies the minimum value of the range
optimum number
Specifies what value is the optimal value for
the gauge
value number
Required. Specifies the current value of the
gauge
www.AtaEbrahimi.com |
Powerpoint Templates
Page 60
<nav> Tag
Definition and Usage
The <nav> tag defines a set of navigation links.
Notice that NOT all links of a document should be inside a <nav>
element. The <nav> element is intended only for major block of
navigation links.
Browsers, such as screen readers for disabled users, can use this
element to determine whether to omit the initial rendering of this content.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 61
<nav> Tag
Example
<nav>
<a href="/html/">HTML</a> |
<a href="/css/">CSS</a> |
<a href="/js/">JavaScript</a> |
<a href="/jquery/">jQuery</a>
</nav>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 62
<output> Tag
Definition and Usage
The <output> tag represents the result of a calculation (like one
performed by a script).
www.AtaEbrahimi.com |
Powerpoint Templates
Page 63
<output> Tag
Example
<form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0
<input type="range" id="a" value="50">100
+<input type="number" id="b" value="50">
=<output name="x" for="a b"></output>
</form>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 64
<output> Tag
Attributes
Attribute Value Description
for element_id
Specifies the relationship between the result of the
calculation, and the elements used in the calculation
form form_id
Specifies one or more forms the output element
belongs to
name name Specifies a name for the output element
www.AtaEbrahimi.com |
Powerpoint Templates
Page 65
<progress> Tag
Definition and Usage
The <progress> tag represents the progress of a task.
Tip: Use the <progress> tag in conjunction with JavaScript to display
the progress of a task.
Note: The <progress> tag is not suitable for representing a gauge (e.g.
disk space usage or relevance of a query result). To represent a gauge,
use the <meter> tag instead.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 66
<progress> Tag
Example
<progress value="22" max="100"></progress>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 67
<progress> Tag
Attributes
Attribute Value Description
max number Specifies how much work the task requires in total
value number Specifies how much of the task has been completed
www.AtaEbrahimi.com |
Powerpoint Templates
Page 68
<rp> Tag
Definition and Usage
The <rp> tag defines what to show if a browser does NOT support ruby
annotations.
Ruby annotations are used for East Asian typography, to show the
pronunciation of East Asian characters.
Use the <rp> tag together with the <ruby> and the <rt> tags: The <ruby>
element consists of one or more characters that needs an
explanation/pronunciation, and an <rt> element that gives that
information, and an optional <rp> element that defines what to show for
browsers that not support ruby annotations.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 69
<rp> Tag
Example
<ruby>
漢 <rt><rp>(</rp>ㄏㄢˋ<rp>)</rp></rt>
</ruby>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 70
<rt> Tag
Definition and Usage
The <rt> tag defines an explanation or pronunciation of characters (for
East Asian typography) in a ruby annotation.
Use the <rt> tag together with the <ruby> and the <rp> tags: The <ruby>
element consists of one or more characters that needs an
explanation/pronunciation, and an <rt> element that gives that
information, and an optional <rp> element that defines what to show for
browsers that not support ruby annotations.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 71
<rt> Tag
Example
<ruby>
漢 <rt> ㄏㄢˋ </rt>
</ruby>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 72
<ruby> Tag
Definition and Usage
The <ruby> tag specifies a ruby annotation.
Ruby annotations are used for East Asian typography, to show the
pronunciation of East Asian characters.
Use the <ruby> tag together with the <rt> and/or the <rp> tags: The
<ruby> element consists of one or more characters that needs an
explanation/pronunciation, and an <rt> element that gives that
information, and an optional <rp> element that defines what to show for
browsers that not support ruby annotations.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 73
<ruby> Tag
Example
<ruby>
漢 <rt> ㄏㄢˋ </rt>
</ruby>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 74
<section> Tag
Definition and Usage
The <section> tag defines sections in a document, such as chapters,
headers, footers, or any other sections of the document.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 75
<section> Tag
Example
<section>
<h1>WWF</h1>
<p>The World Wide Fund for Nature (WWF) is....</p>
</section>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 76
<section> Tag
www.AtaEbrahimi.com |
Powerpoint Templates
Page 77
<source> Tag
Definition and Usage
The <source> tag is used to specify multiple media resources for media
elements, such as <video> and <audio>.
The <source> tag allows you to specify alternative video/audio files
which the browser may choose from, based on its media type or codec
support.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 78
<source> Tag
Example
<audio controls>
<source src="horse.ogg" type="audio/ogg">
<source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 79
<source> Tag
Attributes
Attribute Value Description
media media_query Specifies the type of media resource
src URL Specifies the URL of the media file
type media_type Specifies the media type of the media resource
www.AtaEbrahimi.com |
Powerpoint Templates
Page 80
<summary> Tag
Definition and Usage
The <summary> tag defines a visible heading for the <details> element.
The heading can be clicked to view/hide the details.
Note: The <summary> element should be the first child element of the
<details> element.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 81
<summary> Tag
Example
<details>
<summary>Copyright 1999-2014.</summary>
<p> - by Refsnes Data. All Rights Reserved.</p>
<p>All content and graphics on this web site are the property of the
company Refsnes Data.</p>
</details>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 82
<time> Tag
Definition and Usage
The <time> tag defines a human-readable date/time.
This element can also be used to encode dates and times in a machine-
readable way so that user agents can offer to add birthday reminders or
scheduled events to the user's calendar, and search engines can
produce smarter search results.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 83
<time> Tag
Example
<p>We open at <time>10:00</time> every morning.</p>
<p>I have a date on <time datetime="2008-02-14 20:00">Valentines
day</time>.</p>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 84
<time> Tag
Attributes
Attribute Value Description
datetime datetime
Represent a machine-readable date/time of the
<time> element
www.AtaEbrahimi.com |
Powerpoint Templates
Page 85
<track> Tag
Definition and Usage
The <track> tag specifies text tracks for media elements (<audio> and
<video>).
This element is used to specify subtitles, caption files or other files
containing text, that should be visible when the media is playing.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 86
<track> Tag
Example
<video width="320" height="240" controls>
<source src="forrest_gump.mp4" type="video/mp4">
<source src="forrest_gump.ogg" type="video/ogg">
<track src="subtitles_en.vtt" kind="subtitles" srclang="en"
label="English">
<track src="subtitles_no.vtt" kind="subtitles" srclang="no"
label="Norwegian">
</video>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 87
<track> Tag
Attributes
Attribute Value Description
default default
Specifies that the track is to be enabled if the
user's preferences do not indicate that
another track would be more appropriate
kind
captions
chapters
descriptions
metadata
subtitles
Specifies the kind of text track
label text Specifies the title of the text track
src URL Required. Specifies the URL of the track file
srclang language_code
Specifies the language of the track text data
(required if kind="subtitles")
www.AtaEbrahimi.com |
Powerpoint Templates
Page 88
<video> Tag
Definition and Usage
Browser MP4 WebM Ogg
Internet Explorer YES NO NO
Chrome YES YES YES
Firefox
YES
from Firefox 21
from Firefox 30 for Linux
YES YES
Safari YES NO NO
Opera
YES
From Opera 25
YES YES
The <video> tag specifies video, such as a movie clip or other
video streams.
Currently, there are 3 supported video formats for the <video> element:
MP4, WebM, and Ogg:
www.AtaEbrahimi.com |
Powerpoint Templates
Page 89
<video> Tag
MIME Types for Video Formats
Format MIME-type
MP4 video/mp4
WebM video/webm
Ogg video/ogg
www.AtaEbrahimi.com |
Powerpoint Templates
Page 90
<video> Tag
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>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 91
<video> Tag
Attributes
Attribute Value Description
autoplay Autoplay
Specifies that the video will start playing as soon as it is
ready
controls controls
Specifies that video controls should be displayed (such as
a play/pause button etc).
height pixels Sets the height of the video player
loop loop
Specifies that the video will start over again, every time it is
finished
muted muted
Specifies that the audio output of the video should be
muted
poster URL
Specifies an image to be shown while the video is
downloading, or until the user hits the play button
preload
auto
metadata
none
Specifies if and how the author thinks the video should be
loaded when the page loads
src URL Specifies the URL of the video file
width pixels Sets the width of the video player www.AtaEbrahimi.com |
Powerpoint Templates
Page 92
<video> Tag
www.AtaEbrahimi.com |
Powerpoint Templates
Page 93
<wbr> Tag
Definition and Usage
The <wbr> (Word Break Opportunity) tag specifies where in a text it
would be ok to add a line-break.
Tip: When a word is too long, or you are afraid that the browser will
break your lines at the wrong place, you can use the <wbr> element to
add word break opportunities.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 94
<wbr> Tag
Example
<p>To learn AJAX, you must be familiar with the
XML<wbr>Http<wbr>Request Object.
</p>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 95
<input> Tag in HTML 5
HTML5 input tag introduced several new values for the type attribute.
These are listed below:
• datetime
• datetime-local
• date
• month
• week
• time
• number
• range
• email
• url
www.AtaEbrahimi.com |
Powerpoint Templates
Page 96
Placeholder attribute
in HTML 5
HTML5 introduced a new attribute called placeholder.
This attribute on <input> and <textarea> elements provides a hint to the
user of what can be entered in the field. The placeholder text must not
contain carriage returns or line-feeds.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 97
Placeholder attribute
Example
<input type="text" name="search" placeholder="search the web"/>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 98
Autofocus attribute
in HTML 5
This is a simple one-step pattern, easily programmed in JavaScript at
the time of document load, automatically focus one particular form field.
www.AtaEbrahimi.com |
Powerpoint Templates
Page 99
Autofocus attribute
Example
<input type="text" name="search" autofocus/>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 100
Required attribute
in HTML 5
Now you do not need to have javascript for client side validations like
empty text box would never be submitted because HTML5 introduced a
new attribute called .
www.AtaEbrahimi.com |
Powerpoint Templates
Page 101
Required attribute
Example
<input type="text" name="search" required/>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 102
SVG in HTML 5
SVG stands for Scalable Vector Graphics and it is a language for
describing 2D-graphics and graphical applications in XML and the XML
is then rendered by an SVG viewer.
SVG is mostly useful for vector type diagrams like Pie charts, Two-
dimensional graphs in an X,Y coordinate system etc.
HTML5 allows embeding SVG directly using <svg>...</svg> tag which
has following simple syntax:
<svg xmlns="http://www.w3.org/2000/svg">
...
</svg>
www.AtaEbrahimi.com |
Powerpoint Templates
Page 103
WebSocket in HTML 5
Web Sockets is a next-generation bidirectional communication
technology for web applications which operates over a single socket and
is exposed via a JavaScript interface in HTML 5 compliant browsers.
Once you get a Web Socket connection with the web server, you can
send data from browser to server by calling a send() method, and
receive data from server to browser by an onmessage event handler.
Following is the API which creates a new WebSocket object.
var Socket = new WebSocket(url, [protocal] );
Here first argument, url, specifies the URL to which to connect. The
second attribute, protocol is optional, and if present, specifies a sub-
protocol that the server must support for the connection to be
successful. www.AtaEbrahimi.com |

More Related Content

What's hot

Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
Walid Ashraf
 
Java Script ppt
Java Script pptJava Script ppt
Java Script ppt
Priya Goyal
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
Singsys Pte Ltd
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
Knoldus Inc.
 
Event In JavaScript
Event In JavaScriptEvent In JavaScript
Event In JavaScript
ShahDhruv21
 
Javascript functions
Javascript functionsJavascript functions
Javascript functions
Alaref Abushaala
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
Sanjeev Kumar
 
HTML5 audio & video
HTML5 audio & videoHTML5 audio & video
HTML5 audio & video
Hamza Zahid
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object Model
WebStackAcademy
 
JavaScript - Chapter 11 - Events
 JavaScript - Chapter 11 - Events  JavaScript - Chapter 11 - Events
JavaScript - Chapter 11 - Events
WebStackAcademy
 
Php and MySQL
Php and MySQLPhp and MySQL
Php and MySQL
Tiji Thomas
 
Html
HtmlHtml
PHP - Introduction to File Handling with PHP
PHP -  Introduction to  File Handling with PHPPHP -  Introduction to  File Handling with PHP
PHP - Introduction to File Handling with PHP
Vibrant Technologies & Computers
 
Html forms
Html formsHtml forms
Html forms
Himanshu Pathak
 
HTML5: features with examples
HTML5: features with examplesHTML5: features with examples
HTML5: features with examples
Alfredo Torre
 
Java script
Java scriptJava script
Java script
Shyam Khant
 
Dom
DomDom
JavaScript Tutorial
JavaScript  TutorialJavaScript  Tutorial
JavaScript Tutorial
Bui Kiet
 
JavaScript guide 2020 Learn JavaScript
JavaScript guide 2020 Learn JavaScriptJavaScript guide 2020 Learn JavaScript
JavaScript guide 2020 Learn JavaScript
Laurence Svekis âś”
 
Asp.net state management
Asp.net state managementAsp.net state management
Asp.net state management
priya Nithya
 

What's hot (20)

Lab #2: Introduction to Javascript
Lab #2: Introduction to JavascriptLab #2: Introduction to Javascript
Lab #2: Introduction to Javascript
 
Java Script ppt
Java Script pptJava Script ppt
Java Script ppt
 
Html5 tutorial for beginners
Html5 tutorial for beginnersHtml5 tutorial for beginners
Html5 tutorial for beginners
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
 
Event In JavaScript
Event In JavaScriptEvent In JavaScript
Event In JavaScript
 
Javascript functions
Javascript functionsJavascript functions
Javascript functions
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
HTML5 audio & video
HTML5 audio & videoHTML5 audio & video
HTML5 audio & video
 
JavaScript - Chapter 12 - Document Object Model
  JavaScript - Chapter 12 - Document Object Model  JavaScript - Chapter 12 - Document Object Model
JavaScript - Chapter 12 - Document Object Model
 
JavaScript - Chapter 11 - Events
 JavaScript - Chapter 11 - Events  JavaScript - Chapter 11 - Events
JavaScript - Chapter 11 - Events
 
Php and MySQL
Php and MySQLPhp and MySQL
Php and MySQL
 
Html
HtmlHtml
Html
 
PHP - Introduction to File Handling with PHP
PHP -  Introduction to  File Handling with PHPPHP -  Introduction to  File Handling with PHP
PHP - Introduction to File Handling with PHP
 
Html forms
Html formsHtml forms
Html forms
 
HTML5: features with examples
HTML5: features with examplesHTML5: features with examples
HTML5: features with examples
 
Java script
Java scriptJava script
Java script
 
Dom
DomDom
Dom
 
JavaScript Tutorial
JavaScript  TutorialJavaScript  Tutorial
JavaScript Tutorial
 
JavaScript guide 2020 Learn JavaScript
JavaScript guide 2020 Learn JavaScriptJavaScript guide 2020 Learn JavaScript
JavaScript guide 2020 Learn JavaScript
 
Asp.net state management
Asp.net state managementAsp.net state management
Asp.net state management
 

Viewers also liked

HTML Basics by software development company india
HTML Basics by software development company indiaHTML Basics by software development company india
HTML Basics by software development company india
iFour Institute - Sustainable Learning
 
Card Issuance (Personalization) Part 2
Card Issuance (Personalization) Part 2Card Issuance (Personalization) Part 2
Card Issuance (Personalization) Part 2
Ata Ebrahimi
 
CAT TP
CAT TPCAT TP
CAT TP
Ata Ebrahimi
 
Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01
ramya116
 
BICC protocol and application
BICC protocol and applicationBICC protocol and application
BICC protocol and application
Isybel Harto
 
Html basic
Html basicHtml basic
Html basic
Charitha Bandara
 
Basics of HTML 5 for Beginners
Basics of HTML 5 for Beginners Basics of HTML 5 for Beginners
Basics of HTML 5 for Beginners
MediaLinkers Kennesaw
 
Html1
Html1Html1
Html1
learnt
 
Final Web Design Project
Final Web Design ProjectFinal Web Design Project
Final Web Design Project
Jeana Bertoldi
 
HTML presentation for beginners
HTML presentation for beginnersHTML presentation for beginners
HTML presentation for beginners
jeroenvdmeer
 
Html Ppt
Html PptHtml Ppt
Html Ppt
vijayanit
 
Web Design Project Report
Web Design Project ReportWeb Design Project Report
Web Design Project Report
MJ Ferdous
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
MayaLisa
 
Understanding Telecom SIM and USIM/ISIM for LTE
Understanding Telecom SIM and USIM/ISIM for LTEUnderstanding Telecom SIM and USIM/ISIM for LTE
Understanding Telecom SIM and USIM/ISIM for LTE
ntel
 
Web Development using HTML & CSS
Web Development using HTML & CSSWeb Development using HTML & CSS
Web Development using HTML & CSS
Brainware Consultancy Pvt Ltd
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with Data
Seth Familian
 

Viewers also liked (16)

HTML Basics by software development company india
HTML Basics by software development company indiaHTML Basics by software development company india
HTML Basics by software development company india
 
Card Issuance (Personalization) Part 2
Card Issuance (Personalization) Part 2Card Issuance (Personalization) Part 2
Card Issuance (Personalization) Part 2
 
CAT TP
CAT TPCAT TP
CAT TP
 
Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01
 
BICC protocol and application
BICC protocol and applicationBICC protocol and application
BICC protocol and application
 
Html basic
Html basicHtml basic
Html basic
 
Basics of HTML 5 for Beginners
Basics of HTML 5 for Beginners Basics of HTML 5 for Beginners
Basics of HTML 5 for Beginners
 
Html1
Html1Html1
Html1
 
Final Web Design Project
Final Web Design ProjectFinal Web Design Project
Final Web Design Project
 
HTML presentation for beginners
HTML presentation for beginnersHTML presentation for beginners
HTML presentation for beginners
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 
Web Design Project Report
Web Design Project ReportWeb Design Project Report
Web Design Project Report
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Understanding Telecom SIM and USIM/ISIM for LTE
Understanding Telecom SIM and USIM/ISIM for LTEUnderstanding Telecom SIM and USIM/ISIM for LTE
Understanding Telecom SIM and USIM/ISIM for LTE
 
Web Development using HTML & CSS
Web Development using HTML & CSSWeb Development using HTML & CSS
Web Development using HTML & CSS
 
Visual Design with Data
Visual Design with DataVisual Design with Data
Visual Design with Data
 

Similar to Html 5 New Features

Introduction to html5
Introduction to html5Introduction to html5
Introduction to html5
kolev-prp
 
Lab#2 overview of html
Lab#2 overview of htmlLab#2 overview of html
Lab#2 overview of html
Yaowaluck Promdee
 
Day1
Day1Day1
Web Components: Web back to future.
Web Components: Web back to future.Web Components: Web back to future.
Web Components: Web back to future.
GlobalLogic Ukraine
 
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
Web Development Course - HTML5 & CSS3 by RSOLUTIONSWeb Development Course - HTML5 & CSS3 by RSOLUTIONS
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
RSolutions
 
Front end full stack development module 1pptx
Front end full stack development module 1pptxFront end full stack development module 1pptx
Front end full stack development module 1pptx
MaruthiPrasad96
 
MongoDB.local Dallas 2019: MongoDB Stitch Tutorial
MongoDB.local Dallas 2019: MongoDB Stitch TutorialMongoDB.local Dallas 2019: MongoDB Stitch Tutorial
MongoDB.local Dallas 2019: MongoDB Stitch Tutorial
MongoDB
 
IT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdfIT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdf
Dark179280
 
Html5
Html5Html5
Html5
Zeeshan Ahmed
 
Html 5
Html 5Html 5
Html 5
manujayarajkm
 
Getting started with html5
Getting started with html5Getting started with html5
Getting started with html5
Suresh Kumar
 
Html 5
Html 5Html 5
Html 5
Ajay Ghosh
 
No Feature Solutions with SharePoint
No Feature Solutions with SharePointNo Feature Solutions with SharePoint
No Feature Solutions with SharePoint
mikehuguet
 
Basics of html for web development by software outsourcing company india
Basics of html for web development   by software outsourcing company indiaBasics of html for web development   by software outsourcing company india
Basics of html for web development by software outsourcing company india
Jignesh Aakoliya
 
MTA html5 text_graphics_media
MTA html5 text_graphics_mediaMTA html5 text_graphics_media
MTA html5 text_graphics_media
Dhairya Joshi
 
HTML 5 Complete Reference
HTML 5 Complete ReferenceHTML 5 Complete Reference
HTML 5 Complete Reference
EPAM Systems
 
MongoDB.local Atlanta: MongoDB Stitch Tutorial
MongoDB.local Atlanta: MongoDB Stitch TutorialMongoDB.local Atlanta: MongoDB Stitch Tutorial
MongoDB.local Atlanta: MongoDB Stitch Tutorial
MongoDB
 
Learn html and css from scratch
Learn html and css from scratchLearn html and css from scratch
Learn html and css from scratch
Mohd Manzoor Ahmed
 
Basic html structure
Basic html structureBasic html structure
Basic html structure
Jhaun Paul Enriquez
 
Html5 ppt
Html5 pptHtml5 ppt
Html5 ppt
Rahul Gupta
 

Similar to Html 5 New Features (20)

Introduction to html5
Introduction to html5Introduction to html5
Introduction to html5
 
Lab#2 overview of html
Lab#2 overview of htmlLab#2 overview of html
Lab#2 overview of html
 
Day1
Day1Day1
Day1
 
Web Components: Web back to future.
Web Components: Web back to future.Web Components: Web back to future.
Web Components: Web back to future.
 
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
Web Development Course - HTML5 & CSS3 by RSOLUTIONSWeb Development Course - HTML5 & CSS3 by RSOLUTIONS
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
 
Front end full stack development module 1pptx
Front end full stack development module 1pptxFront end full stack development module 1pptx
Front end full stack development module 1pptx
 
MongoDB.local Dallas 2019: MongoDB Stitch Tutorial
MongoDB.local Dallas 2019: MongoDB Stitch TutorialMongoDB.local Dallas 2019: MongoDB Stitch Tutorial
MongoDB.local Dallas 2019: MongoDB Stitch Tutorial
 
IT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdfIT230-Assignment 1 Solved.pdf
IT230-Assignment 1 Solved.pdf
 
Html5
Html5Html5
Html5
 
Html 5
Html 5Html 5
Html 5
 
Getting started with html5
Getting started with html5Getting started with html5
Getting started with html5
 
Html 5
Html 5Html 5
Html 5
 
No Feature Solutions with SharePoint
No Feature Solutions with SharePointNo Feature Solutions with SharePoint
No Feature Solutions with SharePoint
 
Basics of html for web development by software outsourcing company india
Basics of html for web development   by software outsourcing company indiaBasics of html for web development   by software outsourcing company india
Basics of html for web development by software outsourcing company india
 
MTA html5 text_graphics_media
MTA html5 text_graphics_mediaMTA html5 text_graphics_media
MTA html5 text_graphics_media
 
HTML 5 Complete Reference
HTML 5 Complete ReferenceHTML 5 Complete Reference
HTML 5 Complete Reference
 
MongoDB.local Atlanta: MongoDB Stitch Tutorial
MongoDB.local Atlanta: MongoDB Stitch TutorialMongoDB.local Atlanta: MongoDB Stitch Tutorial
MongoDB.local Atlanta: MongoDB Stitch Tutorial
 
Learn html and css from scratch
Learn html and css from scratchLearn html and css from scratch
Learn html and css from scratch
 
Basic html structure
Basic html structureBasic html structure
Basic html structure
 
Html5 ppt
Html5 pptHtml5 ppt
Html5 ppt
 

Recently uploaded

Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
Fwdays
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
Edge AI and Vision Alliance
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
saastr
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
c5vrf27qcz
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
Ivo Velitchkov
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 

Recently uploaded (20)

Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota"Choosing proper type of scaling", Olena Syrota
"Choosing proper type of scaling", Olena Syrota
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
9 CEO's who hit $100m ARR Share Their Top Growth Tactics Nathan Latka, Founde...
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Y-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PPY-Combinator seed pitch deck template PP
Y-Combinator seed pitch deck template PP
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Apps Break Data
Apps Break DataApps Break Data
Apps Break Data
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 

Html 5 New Features

  • 1. Powerpoint Templates Page 1 Powerpoint Templates HTML 5 New Features By Ata Ebrahimi www.AtaEbrahimi.com
  • 2. Powerpoint Templates Page 2 New Features HTML5 introduces a number of new elements and attributes that helps in building a modern websites. Following are great features introduced in HTML5. • New Semantic Elements: These are like <header>, <footer>, and <section>. • Forms 2.0: Improvements to HTML web forms where new attributes have been introduced for <input> tag. • Persistent Local Storage: To achieve without resorting to third-party plugins. www.AtaEbrahimi.com |
  • 3. Powerpoint Templates Page 3 New Features • WebSocket : A next-generation bidirectional communication technology for web applications. • Server-Sent Events: HTML5 introduces events which flow from web server to the web browsers and they are called Server-Sent Events (SSE). • Canvas: This supports a two-dimensional drawing surface that you can program with JavaScript. • Audio & Video: You can embed audio or video on your web pages without resorting to third-party plugins. www.AtaEbrahimi.com |
  • 4. Powerpoint Templates Page 4 New Features • Geolocation: Now visitors can choose to share their physical location with your web application. • Microdata: This lets you create your own vocabularies beyond HTML5 and extend your web pages with custom semantics. • Drag and drop: Drag and drop the items from one location to another location on a the same webpage. www.AtaEbrahimi.com |
  • 5. Powerpoint Templates Page 5 New Tags • <article> • <aside> • <audio> • <bdi> • <canvas> • <datalist> • <details> • <diaog> • <embed> • <figcaption> • <figure> • <footer> www.AtaEbrahimi.com |
  • 6. Powerpoint Templates Page 6 New Tags • <header> • <keygen> • <main> • <mark> • <menuitem> • <meter> • <nav> • <output> • <progress> • <rp> • <rt> • <ruby> www.AtaEbrahimi.com |
  • 7. Powerpoint Templates Page 7 New Tags • <section> • <source> • <summary> • <time> • <track> • <video> • <wbr> www.AtaEbrahimi.com |
  • 8. Powerpoint Templates Page 8 Removed Tags • <acronym> • <applet> • <basefont> • <big> • <center> • <dir> • <font> • <frame> • <frameset> • <noframes> • <strike> • <tt> www.AtaEbrahimi.com |
  • 9. Powerpoint Templates Page 9 <article> Tag Definition and Usage The <article> tag specifies independent, self-contained content. An article should make sense on its own and it should be possible to distribute it independently from the rest of the site. Potential sources for the <article> element: • Forum post • Blog post • News story • Comment www.AtaEbrahimi.com |
  • 10. Powerpoint Templates Page 10 <article> Tag Example <article> <h1>HTML 5 New Features Presentation</h1> <p>HTML5 is a standard for structuring and presenting web content</p> </article> www.AtaEbrahimi.com |
  • 11. Powerpoint Templates Page 11 <article> Tag www.AtaEbrahimi.com |
  • 12. Powerpoint Templates Page 12 <aside> Tag Definition and Usage The <aside> tag defines some content aside from the content it is placed in. The aside content should be related to the surrounding content. www.AtaEbrahimi.com |
  • 13. Powerpoint Templates Page 13 <aside> Tag Example <p>My family and I visited The Hyper ME center this summer.</p> <aside> <h4>Hyper ME Center</h4> <p>The Hyper ME Center is located in the west of Tehran.</p> </aside> www.AtaEbrahimi.com |
  • 14. Powerpoint Templates Page 14 <aside> Tag www.AtaEbrahimi.com |
  • 15. Powerpoint Templates Page 15 <audio> Tag Definition and Usage The <audio> tag defines sound, such as music or other audio streams. Currently, there are 3 supported file formats for the <audio> element: MP3, Wav, and Ogg: Browser MP3 Wav Ogg Internet Explorer YES NO NO Chrome YES YES YES Firefox YES YES YES Safari YES YES NO Opera YES YES YES www.AtaEbrahimi.com |
  • 16. Powerpoint Templates Page 16 <audio> Tag MIME Types for Audio Formats Format MIME-type MP3 audio/mpeg Ogg audio/ogg Wav audio/wav www.AtaEbrahimi.com |
  • 17. Powerpoint Templates Page 17 <audio> Tag Attributes Attribute Value Description autoplay autoplay Specifies that the audio will start playing as soon as it is ready controls controls Specifies that audio controls should be displayed (such as a play/pause button etc) loop loop Specifies that the audio will start over again, every time it is finished muted muted Specifies that the audio output should be muted preload auto metadata none Specifies if and how the author thinks the audio should be loaded when the page loads src URL Specifies the URL of the audio file www.AtaEbrahimi.com |
  • 18. Powerpoint Templates Page 18 <audio> Tag Example <audio controls> <source src="horse.ogg" type="audio/ogg"> <source src="horse.mp3" type="audio/mpeg"> Your browser does not support the audio tag. </audio> www.AtaEbrahimi.com |
  • 19. Powerpoint Templates Page 19 <audio> Tag www.AtaEbrahimi.com |
  • 20. Powerpoint Templates Page 20 <bdi> Tag Definition and Usage bdi stands for Bi-directional Isolation. The <bdi> tag isolates a part of text that might be formatted in a different direction from other text outside it. This element is useful when embedding user-generated content with an unknown directionality. www.AtaEbrahimi.com |
  • 21. Powerpoint Templates Page 21 <bdi> Tag Example <ul> <li>User <bdi>hrefs</bdi>: 60 points</li> <li>User <bdi>jdoe</bdi>: 80 points</li> <li>User <bdi> ‫إيان‬</ bdi>: 90 points</li> </ul> www.AtaEbrahimi.com |
  • 22. Powerpoint Templates Page 22 <canvas> Tag Definition and Usage The <canvas> tag is used to draw graphics, on the fly, via scripting (usually JavaScript). The <canvas> tag is only a container for graphics, you must use a script to actually draw the graphics. www.AtaEbrahimi.com |
  • 23. Powerpoint Templates Page 23 <canvas> Tag Example <canvas id="myCanvas"></canvas> <script> var canvas = document.getElementById("myCanvas"); var ctx = canvas.getContext("2d"); ctx.fillStyle = "#FF0000"; ctx.fillRect(0, 0, 80, 80); </script> www.AtaEbrahimi.com |
  • 24. Powerpoint Templates Page 24 <canvas> Tag Attributes Attribute Value Description Height pixels Specifies the height of the canvas width pixels Specifies the width of the canvas www.AtaEbrahimi.com |
  • 25. Powerpoint Templates Page 25 <datalist> Tag Definition and Usage The <datalist> tag specifies a list of pre-defined options for an <input> element. The <datalist> tag is used to provide an "autocomplete" feature on <input> elements. Users will see a drop-down list of pre-defined options as they input data. Use the <input> element's list attribute to bind it together with a <datalist> element. www.AtaEbrahimi.com |
  • 26. Powerpoint Templates Page 26 <datalist> Tag Example <input list="browsers"> <datalist id="browsers"> <option value="Internet Explorer"> <option value="Firefox"> <option value="Chrome"> <option value="Opera"> <option value="Safari"> </datalist> www.AtaEbrahimi.com |
  • 27. Powerpoint Templates Page 27 <datalist> Tag www.AtaEbrahimi.com |
  • 28. Powerpoint Templates Page 28 <details> Tag Definition and Usage The <details> tag specifies additional details that the user can view or hide on demand. The <details> tag can be used to create an interactive widget that the user can open and close. Any sort of content can be put inside the <details> tag. The content of a <details> element should not be visible unless the open attribute is set. www.AtaEbrahimi.com |
  • 29. Powerpoint Templates Page 29 <details> Tag Example <details> <summary>Copyright 1999-2015.</summary> <p> - by Ata Ebrahimi. All Rights Reserved.</p> <p>All content and graphics on this presentation are the property of the Ata Ebrahimi.</p> </details> www.AtaEbrahimi.com |
  • 30. Powerpoint Templates Page 30 <details> Tag Attributes Attribute Value Description open open Specifies that the details should be visible (open) to the user www.AtaEbrahimi.com |
  • 31. Powerpoint Templates Page 31 <dialog> Tag Definition and Usage The <dialog> tag defines a dialog box or window. The <dialog> element makes it easy to create popup dialogs and modals on a web page. www.AtaEbrahimi.com |
  • 32. Powerpoint Templates Page 32 <dialog> Tag Example <table> <tr> <th>January <dialog open>This is an open dialog window</dialog></th> <th>February</th> <th>March</th> </tr> <tr> <td>31</td> <td>28</td> <td>31</td> </tr> </table> www.AtaEbrahimi.com |
  • 33. Powerpoint Templates Page 33 <dialog> Tag Attributes Attribute Value Description open open Specifies that the dialog element is active and that the user can interact with it www.AtaEbrahimi.com |
  • 34. Powerpoint Templates Page 34 <embed> Tag Definition and Usage The <embed> tag defines a container for an external application or interactive content (a plug-in). www.AtaEbrahimi.com |
  • 35. Powerpoint Templates Page 35 <embed> Tag Example <embed src="helloworld.swf"> www.AtaEbrahimi.com |
  • 36. Powerpoint Templates Page 36 <embed> Tag Attributes Attribute Value Description height pixels Specifies the height of the embedded content src URL Specifies the address of the external file to embed type media_type Specifies the media type of the embedded content width pixels Specifies the width of the embedded content www.AtaEbrahimi.com |
  • 37. Powerpoint Templates Page 37 <figcaption> Tag Definition and Usage The <figcaption> tag defines a caption for a <figure> element. The <figcaption> element can be placed as the first or last child of the <figure> element. www.AtaEbrahimi.com |
  • 38. Powerpoint Templates Page 38 <figcaption> Tag Example <figure> <img src="img_pulpit.jpg" alt="The Pulpit Rock" width="304" height="228"> <figcaption>Fig1. - A view of the pulpit rock in Norway.</figcaption> </figure> www.AtaEbrahimi.com |
  • 39. Powerpoint Templates Page 39 <figure> Tag Definition and Usage The <figure> tag specifies self-contained content, like illustrations, diagrams, photos, code listings, etc. While the content of the <figure> element is related to the main flow, its position is independent of the main flow, and if removed it should not affect the flow of the document. www.AtaEbrahimi.com |
  • 40. Powerpoint Templates Page 40 <figure> Tag Example <figure> <img src="img_pulpit.jpg" alt="The Pulpit Rock" width="304" height="228"> </figure> www.AtaEbrahimi.com |
  • 41. Powerpoint Templates Page 41 <footer> Tag Definition and Usage The <footer> tag defines a footer for a document or section. A <footer> element should contain information about its containing element. A <footer> element typically contains: • authorship information • copyright information • contact information • sitemap • back to top links • related documents You can have several <footer> elements in one document. www.AtaEbrahimi.com |
  • 42. Powerpoint Templates Page 42 <footer> Tag Example <footer> <p>Posted by: Hege Refsnes</p> <p>Contact information: <a href="mailto:someone@example.com"> someone@example.com</a>.</p> </footer> www.AtaEbrahimi.com |
  • 43. Powerpoint Templates Page 43 <footer> Tag www.AtaEbrahimi.com |
  • 44. Powerpoint Templates Page 44 <header> Tag Definition and Usage The <header> element represents a container for introductory content or a set of navigational links. A <header> element typically contains: • one or more heading elements (<h1> - <h6>) • logo or icon • authorship information You can have several <header> elements in one document. Note: A <header> tag cannot be placed within a <footer>, <address> or another <header> element. www.AtaEbrahimi.com |
  • 45. Powerpoint Templates Page 45 <header> Tag Example <article> <header> <h1>Most important heading here</h1> <h3>Less important heading here</h3> <p>Some additional information here</p> </header> <p>This presentation designed by Ata Ebrahimi</p> </article> www.AtaEbrahimi.com |
  • 46. Powerpoint Templates Page 46 <header> Tag www.AtaEbrahimi.com |
  • 47. Powerpoint Templates Page 47 <keygen> Tag Definition and Usage The <keygen> tag specifies a key-pair generator field used for forms. When the form is submitted, the private key is stored locally, and the public key is sent to the server. www.AtaEbrahimi.com |
  • 48. Powerpoint Templates Page 48 <keygen> Tag Example <meter value="2" min="0" max="10">2 out of 10</meter><br> <meter value="0.6">60%</meter> www.AtaEbrahimi.com |
  • 49. Powerpoint Templates Page 49 <keygen> Tag Attributes Attribute Value Description autofocus autofocus Specifies that a <keygen> element should automatically get focus when the page loads challenge challenge Specifies that the value of the <keygen> element should be challenged when submitted disabled disabled Specifies that a <keygen> element should be disabled form form_id Specifies one or more forms the <keygen> element belongs to keytype rsa dsa ec Specifies the security algorithm of the key name name Defines a name for the <keygen> element www.AtaEbrahimi.com |
  • 50. Powerpoint Templates Page 50 <main> Tag Definition and Usage The <main> tag specifies the main content of a document. The content inside the <main> element should be unique to the document. It should not contain any content that is repeated across documents such as sidebars, navigation links, copyright information, site logos, and search forms. Note: There must not be more than one <main> element in a document. The <main> element must NOT be a descendant of an <article>, <aside>, <footer>, <header>, or <nav> element. www.AtaEbrahimi.com |
  • 51. Powerpoint Templates Page 51 <main> Tag Example <main> <h1>Web Browsers</h1> <p>Google Chrome, Firefox are the most used browsers today.</p> <article> <h1>Google Chrome</h1> <p>Google Chrome is a free web browser developed by Google, released in 2008.</p> </article> <article> <h1>Internet Explorer</h1> <p>Internet Explorer is a free web browser from Microsoft</p> </article> </main> www.AtaEbrahimi.com |
  • 52. Powerpoint Templates Page 52 <mark> Tag Definition and Usage The <mark> tag defines marked text. Use the <mark> tag if you want to highlight parts of your text. www.AtaEbrahimi.com |
  • 53. Powerpoint Templates Page 53 <mark> Tag Example <p>Do not forget to buy <mark>milk</mark> today.</p> www.AtaEbrahimi.com |
  • 54. Powerpoint Templates Page 54 <menuitem> Tag Definition and Usage The <menuitem> tag defines a command/menu item that the user can invoke from a popup menu. www.AtaEbrahimi.com |
  • 55. Powerpoint Templates Page 55 <menuitem> Tag Example <menu type="context" id="mymenu"> <menuitem label="Refresh" onclick="window.location.reload();" icon="ico_reload.png"> </menuitem> <menu label="Share on..."> <menuitem label="Twitter" icon="ico_twitter.png" onclick="window.open('//twitter.com/intent/tweet?text='+window.location.href);"> </menuitem> <menuitem label="Facebook" icon="ico_facebook.png" onclick="window.open('//facebook.com/sharer/sharer.php?u='+window.location. href);"> </menuitem> </menu> <menuitem label="Email This Page" onclick="window.location='mailto:?body='+window.location.href;"></menuitem> </menu> www.AtaEbrahimi.com |
  • 56. Powerpoint Templates Page 56 <menuitem> Tag Attributes Attribute Value Description checked Checked Specifies that the command/menu item should be checked when the page loads. Only for type="radio" or type="checkbox" command default default Marks the command/menu item as being a default command disabled disabled Specifies that the command/menu item should be disabled icon URL Specifies an icon for the command/menu item label text Required. Specifies the name of the command/menu item, as shown to the user radiogroup groupname Specifies the name of the group of commands that will be toggled when the command/menu item itself is toggled. Only for type="radio" type checkbox command radio Specifies the type of command/menu item. Default is "command" www.AtaEbrahimi.com |
  • 57. Powerpoint Templates Page 57 <meter> Tag Definition and Usage The <meter> tag defines a scalar measurement within a known range, or a fractional value. This is also known as a gauge. Examples: Disk usage, the relevance of a query result, etc. Note: The <meter> tag should not be used to indicate progress (as in a progress bar). For progress bars, use the <progress> tag. www.AtaEbrahimi.com |
  • 58. Powerpoint Templates Page 58 <meter> Tag Example <meter value="2" min="0" max="10">2 out of 10</meter><br> <meter value="0.6">60%</meter> www.AtaEbrahimi.com |
  • 59. Powerpoint Templates Page 59 <meter> Tag Attributes Attribute Value Description form form_id Specifies one or more forms the <meter> element belongs to high number Specifies the range that is considered to be a high value low number Specifies the range that is considered to be a low value max number Specifies the maximum value of the range min number Specifies the minimum value of the range optimum number Specifies what value is the optimal value for the gauge value number Required. Specifies the current value of the gauge www.AtaEbrahimi.com |
  • 60. Powerpoint Templates Page 60 <nav> Tag Definition and Usage The <nav> tag defines a set of navigation links. Notice that NOT all links of a document should be inside a <nav> element. The <nav> element is intended only for major block of navigation links. Browsers, such as screen readers for disabled users, can use this element to determine whether to omit the initial rendering of this content. www.AtaEbrahimi.com |
  • 61. Powerpoint Templates Page 61 <nav> Tag Example <nav> <a href="/html/">HTML</a> | <a href="/css/">CSS</a> | <a href="/js/">JavaScript</a> | <a href="/jquery/">jQuery</a> </nav> www.AtaEbrahimi.com |
  • 62. Powerpoint Templates Page 62 <output> Tag Definition and Usage The <output> tag represents the result of a calculation (like one performed by a script). www.AtaEbrahimi.com |
  • 63. Powerpoint Templates Page 63 <output> Tag Example <form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0 <input type="range" id="a" value="50">100 +<input type="number" id="b" value="50"> =<output name="x" for="a b"></output> </form> www.AtaEbrahimi.com |
  • 64. Powerpoint Templates Page 64 <output> Tag Attributes Attribute Value Description for element_id Specifies the relationship between the result of the calculation, and the elements used in the calculation form form_id Specifies one or more forms the output element belongs to name name Specifies a name for the output element www.AtaEbrahimi.com |
  • 65. Powerpoint Templates Page 65 <progress> Tag Definition and Usage The <progress> tag represents the progress of a task. Tip: Use the <progress> tag in conjunction with JavaScript to display the progress of a task. Note: The <progress> tag is not suitable for representing a gauge (e.g. disk space usage or relevance of a query result). To represent a gauge, use the <meter> tag instead. www.AtaEbrahimi.com |
  • 66. Powerpoint Templates Page 66 <progress> Tag Example <progress value="22" max="100"></progress> www.AtaEbrahimi.com |
  • 67. Powerpoint Templates Page 67 <progress> Tag Attributes Attribute Value Description max number Specifies how much work the task requires in total value number Specifies how much of the task has been completed www.AtaEbrahimi.com |
  • 68. Powerpoint Templates Page 68 <rp> Tag Definition and Usage The <rp> tag defines what to show if a browser does NOT support ruby annotations. Ruby annotations are used for East Asian typography, to show the pronunciation of East Asian characters. Use the <rp> tag together with the <ruby> and the <rt> tags: The <ruby> element consists of one or more characters that needs an explanation/pronunciation, and an <rt> element that gives that information, and an optional <rp> element that defines what to show for browsers that not support ruby annotations. www.AtaEbrahimi.com |
  • 69. Powerpoint Templates Page 69 <rp> Tag Example <ruby> 漢 <rt><rp>(</rp>ㄏㄢˋ<rp>)</rp></rt> </ruby> www.AtaEbrahimi.com |
  • 70. Powerpoint Templates Page 70 <rt> Tag Definition and Usage The <rt> tag defines an explanation or pronunciation of characters (for East Asian typography) in a ruby annotation. Use the <rt> tag together with the <ruby> and the <rp> tags: The <ruby> element consists of one or more characters that needs an explanation/pronunciation, and an <rt> element that gives that information, and an optional <rp> element that defines what to show for browsers that not support ruby annotations. www.AtaEbrahimi.com |
  • 71. Powerpoint Templates Page 71 <rt> Tag Example <ruby> 漢 <rt> ㄏㄢˋ </rt> </ruby> www.AtaEbrahimi.com |
  • 72. Powerpoint Templates Page 72 <ruby> Tag Definition and Usage The <ruby> tag specifies a ruby annotation. Ruby annotations are used for East Asian typography, to show the pronunciation of East Asian characters. Use the <ruby> tag together with the <rt> and/or the <rp> tags: The <ruby> element consists of one or more characters that needs an explanation/pronunciation, and an <rt> element that gives that information, and an optional <rp> element that defines what to show for browsers that not support ruby annotations. www.AtaEbrahimi.com |
  • 73. Powerpoint Templates Page 73 <ruby> Tag Example <ruby> 漢 <rt> ㄏㄢˋ </rt> </ruby> www.AtaEbrahimi.com |
  • 74. Powerpoint Templates Page 74 <section> Tag Definition and Usage The <section> tag defines sections in a document, such as chapters, headers, footers, or any other sections of the document. www.AtaEbrahimi.com |
  • 75. Powerpoint Templates Page 75 <section> Tag Example <section> <h1>WWF</h1> <p>The World Wide Fund for Nature (WWF) is....</p> </section> www.AtaEbrahimi.com |
  • 76. Powerpoint Templates Page 76 <section> Tag www.AtaEbrahimi.com |
  • 77. Powerpoint Templates Page 77 <source> Tag Definition and Usage The <source> tag is used to specify multiple media resources for media elements, such as <video> and <audio>. The <source> tag allows you to specify alternative video/audio files which the browser may choose from, based on its media type or codec support. www.AtaEbrahimi.com |
  • 78. Powerpoint Templates Page 78 <source> Tag Example <audio controls> <source src="horse.ogg" type="audio/ogg"> <source src="horse.mp3" type="audio/mpeg"> Your browser does not support the audio element. </audio> www.AtaEbrahimi.com |
  • 79. Powerpoint Templates Page 79 <source> Tag Attributes Attribute Value Description media media_query Specifies the type of media resource src URL Specifies the URL of the media file type media_type Specifies the media type of the media resource www.AtaEbrahimi.com |
  • 80. Powerpoint Templates Page 80 <summary> Tag Definition and Usage The <summary> tag defines a visible heading for the <details> element. The heading can be clicked to view/hide the details. Note: The <summary> element should be the first child element of the <details> element. www.AtaEbrahimi.com |
  • 81. Powerpoint Templates Page 81 <summary> Tag Example <details> <summary>Copyright 1999-2014.</summary> <p> - by Refsnes Data. All Rights Reserved.</p> <p>All content and graphics on this web site are the property of the company Refsnes Data.</p> </details> www.AtaEbrahimi.com |
  • 82. Powerpoint Templates Page 82 <time> Tag Definition and Usage The <time> tag defines a human-readable date/time. This element can also be used to encode dates and times in a machine- readable way so that user agents can offer to add birthday reminders or scheduled events to the user's calendar, and search engines can produce smarter search results. www.AtaEbrahimi.com |
  • 83. Powerpoint Templates Page 83 <time> Tag Example <p>We open at <time>10:00</time> every morning.</p> <p>I have a date on <time datetime="2008-02-14 20:00">Valentines day</time>.</p> www.AtaEbrahimi.com |
  • 84. Powerpoint Templates Page 84 <time> Tag Attributes Attribute Value Description datetime datetime Represent a machine-readable date/time of the <time> element www.AtaEbrahimi.com |
  • 85. Powerpoint Templates Page 85 <track> Tag Definition and Usage The <track> tag specifies text tracks for media elements (<audio> and <video>). This element is used to specify subtitles, caption files or other files containing text, that should be visible when the media is playing. www.AtaEbrahimi.com |
  • 86. Powerpoint Templates Page 86 <track> Tag Example <video width="320" height="240" controls> <source src="forrest_gump.mp4" type="video/mp4"> <source src="forrest_gump.ogg" type="video/ogg"> <track src="subtitles_en.vtt" kind="subtitles" srclang="en" label="English"> <track src="subtitles_no.vtt" kind="subtitles" srclang="no" label="Norwegian"> </video> www.AtaEbrahimi.com |
  • 87. Powerpoint Templates Page 87 <track> Tag Attributes Attribute Value Description default default Specifies that the track is to be enabled if the user's preferences do not indicate that another track would be more appropriate kind captions chapters descriptions metadata subtitles Specifies the kind of text track label text Specifies the title of the text track src URL Required. Specifies the URL of the track file srclang language_code Specifies the language of the track text data (required if kind="subtitles") www.AtaEbrahimi.com |
  • 88. Powerpoint Templates Page 88 <video> Tag Definition and Usage Browser MP4 WebM Ogg Internet Explorer YES NO NO Chrome YES YES YES Firefox YES from Firefox 21 from Firefox 30 for Linux YES YES Safari YES NO NO Opera YES From Opera 25 YES YES The <video> tag specifies video, such as a movie clip or other video streams. Currently, there are 3 supported video formats for the <video> element: MP4, WebM, and Ogg: www.AtaEbrahimi.com |
  • 89. Powerpoint Templates Page 89 <video> Tag MIME Types for Video Formats Format MIME-type MP4 video/mp4 WebM video/webm Ogg video/ogg www.AtaEbrahimi.com |
  • 90. Powerpoint Templates Page 90 <video> Tag 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> www.AtaEbrahimi.com |
  • 91. Powerpoint Templates Page 91 <video> Tag Attributes Attribute Value Description autoplay Autoplay Specifies that the video will start playing as soon as it is ready controls controls Specifies that video controls should be displayed (such as a play/pause button etc). height pixels Sets the height of the video player loop loop Specifies that the video will start over again, every time it is finished muted muted Specifies that the audio output of the video should be muted poster URL Specifies an image to be shown while the video is downloading, or until the user hits the play button preload auto metadata none Specifies if and how the author thinks the video should be loaded when the page loads src URL Specifies the URL of the video file width pixels Sets the width of the video player www.AtaEbrahimi.com |
  • 92. Powerpoint Templates Page 92 <video> Tag www.AtaEbrahimi.com |
  • 93. Powerpoint Templates Page 93 <wbr> Tag Definition and Usage The <wbr> (Word Break Opportunity) tag specifies where in a text it would be ok to add a line-break. Tip: When a word is too long, or you are afraid that the browser will break your lines at the wrong place, you can use the <wbr> element to add word break opportunities. www.AtaEbrahimi.com |
  • 94. Powerpoint Templates Page 94 <wbr> Tag Example <p>To learn AJAX, you must be familiar with the XML<wbr>Http<wbr>Request Object. </p> www.AtaEbrahimi.com |
  • 95. Powerpoint Templates Page 95 <input> Tag in HTML 5 HTML5 input tag introduced several new values for the type attribute. These are listed below: • datetime • datetime-local • date • month • week • time • number • range • email • url www.AtaEbrahimi.com |
  • 96. Powerpoint Templates Page 96 Placeholder attribute in HTML 5 HTML5 introduced a new attribute called placeholder. This attribute on <input> and <textarea> elements provides a hint to the user of what can be entered in the field. The placeholder text must not contain carriage returns or line-feeds. www.AtaEbrahimi.com |
  • 97. Powerpoint Templates Page 97 Placeholder attribute Example <input type="text" name="search" placeholder="search the web"/> www.AtaEbrahimi.com |
  • 98. Powerpoint Templates Page 98 Autofocus attribute in HTML 5 This is a simple one-step pattern, easily programmed in JavaScript at the time of document load, automatically focus one particular form field. www.AtaEbrahimi.com |
  • 99. Powerpoint Templates Page 99 Autofocus attribute Example <input type="text" name="search" autofocus/> www.AtaEbrahimi.com |
  • 100. Powerpoint Templates Page 100 Required attribute in HTML 5 Now you do not need to have javascript for client side validations like empty text box would never be submitted because HTML5 introduced a new attribute called . www.AtaEbrahimi.com |
  • 101. Powerpoint Templates Page 101 Required attribute Example <input type="text" name="search" required/> www.AtaEbrahimi.com |
  • 102. Powerpoint Templates Page 102 SVG in HTML 5 SVG stands for Scalable Vector Graphics and it is a language for describing 2D-graphics and graphical applications in XML and the XML is then rendered by an SVG viewer. SVG is mostly useful for vector type diagrams like Pie charts, Two- dimensional graphs in an X,Y coordinate system etc. HTML5 allows embeding SVG directly using <svg>...</svg> tag which has following simple syntax: <svg xmlns="http://www.w3.org/2000/svg"> ... </svg> www.AtaEbrahimi.com |
  • 103. Powerpoint Templates Page 103 WebSocket in HTML 5 Web Sockets is a next-generation bidirectional communication technology for web applications which operates over a single socket and is exposed via a JavaScript interface in HTML 5 compliant browsers. Once you get a Web Socket connection with the web server, you can send data from browser to server by calling a send() method, and receive data from server to browser by an onmessage event handler. Following is the API which creates a new WebSocket object. var Socket = new WebSocket(url, [protocal] ); Here first argument, url, specifies the URL to which to connect. The second attribute, protocol is optional, and if present, specifies a sub- protocol that the server must support for the connection to be successful. www.AtaEbrahimi.com |