Lab 10: HTML5, Form & Media
Lab 10: HTML5, Form & Media
Lab 10: HTML5, Form & Media
HTML5
Html5 is advance version of HTML and some new tags were added which are discussed bellow:
HTML Geolocation
HTML Drag and Drop
HTML Local Storage
HTML Application Cache
HTML Web Workers
HTML SSE
Many web sites contain HTML code like: <div id="nav"><div class="header"><div
id="footer">
to indicate navigation, header, and footer.
<article>
o The <article> element specifies independent,
self-contained content.
<aside>
<details>
<figcaption>
o The purpose of a figure caption is to add a
visual explanation to an image.
<figure>
<footer>
o The <footer> element specifies a footer for a
document or section.
<header>
o The <header> element specifies a header for a document or section.
<main>
<mark>
<nav>
o The <nav> element defines a set of navigation links.
<section>
o The <section> element defines a section in a document.
<summary>
<time>
Lab10e1.html
<!DOCTYPE html>
<html>
<body>
<section>
<h1>Advance Computing Lab</h1>
<p>The purpose of this lab is to allow students to develop and test electronic
circuits to implement hardware. </p>
</section>
<section>
<h1>Ubiquitous Lab</h1>
<p>The Computer Science department of DSU has constructed specialized
labs that support Mobile Computing, Game Development, and Graphics</p>
</section>
</body>
</html>
Lab10e2.html
<!DOCTYPE html>
<html>
<body>
<nav>
<a href="/html/">Home</a> |
<a href="/css/">About Us</a> |
<a href="/js/">Education</a> |
<a href="/jquery/">Gallery</a>
<a href="/jquery/">Contact Us</a>
</nav>
</body>
</html>
Lab10e3.html
<!DOCTYPE html>
<html>
<body>
<p> The Department of Computer Science aims to produce world class IT entrepreneurs and
researchers. </p>
<figure>
<imgsrc="CS-01.jpg" alt="The Pulpit Rock" width="304" height="228">
<figcaption>Fig.1 - Department of Computer Science.</figcaption>
</figure>
</body>
</html>
Lab10e7.html
Lab10e8.html
Lab10e9.html
The <button> Element
Lab5e10.html
<!DOCTYPE html>
<html>
<body>
<button type="button" onclick="alert('Hello World!')">Click Me!</button>
</body>
</html>
What is Multimedia?
Multimedia comes in many different formats. It can be almost anything you can hear or see.
Examples: Images, music, sound, videos, records, films, animations, and more.
Web pages often contain multimedia elements of different types and formats.
Multimedia Formats
Multimedia elements (like audio or video) are stored in media files.
The most common way to discover the type of a file, is to look at the file extension.
Multimedia files have formats and different extensions like: .swf, .wav, .mp3, .mp4, .mpg,
.wmv, and .avi.
HTML5 Video
Lab10e12.html
<!DOCTYPE html>
<html>
<body>
Lab 10 Tasks
Question No. 01: Create your own page Contact Us for should be like
this: