HTML5 Elements: Web Technology Assignment - 1947234
HTML5 Elements: Web Technology Assignment - 1947234
HTML5 Elements
HTML5 elements are marked up using start tags and end tags. Tags are delimited
using angle brackets with the tag name in between. The difference between start tags
and end tags is that the latter includes a slash before the tag name. Following is the
example of an HTML5 element
autofocus
<!DOCTYPE html>
<html> attribute can be used to focus to an element when the page loads. It is a boolean
The autofocus
<head>
attribute, that is you do not have to set any value to this attribute.
<title>Autofocus Example</title>
Sample<html>
Code:
</head>
<body>
<form action="#">
First name:<input type="text" name="fname" autofocus><br>
Last name: <input type="text" name="lname"><br>
<input type="submit">
</form>
</body>
</html>
autocomplete
The autocomplete attribute can be used to on or off the autocomplete feature of form input
elements and <form> element. If autocomplete is on, browser automatically completes
values based on the previous entries. This attribute works with <form> as well as with
input types text, email, url, tel, password, text, range, date and color. By making
autocomplete on for the <form>, all the input fields will have autocomplete on. Even the
autocomplete is on for <form>, you can make it off for any of the input fields if you want.
Sample Code:
<!DOCTYPE html>
<html> <head>
<title>Autocomplete Example</title>
</head>
<body>
<form action="#" autocomplete="on">
First name:<input type="text" name="fname"><br>
Last name: <input type="text" name="lname"><br>
Password: <input type="password" name="password" autocomplete="off"><br>
E-mail: <input type="email" name="email"><br>
<input type="submit">
</form>
</body>
</html>
WEB TECHNOLOGY ASSIGNMENT - 1947234 Page 2
novalidate
The novalidate attribute can be used with <form> element if you do not want the form data
to be validated when submitted.
Sample Code:
<!DOCTYPE html>
<html>
<head>
<title>Novalidate Example</title>
</head>
<body>
<form action="#" novalidate>
First name:<input type="text" name="fname" autofocus><br>
Last name: <input type="text" name="lname"><br>
E-mail: <input type="email" name="email"><br>
<input type="submit">
</form>
</body>
</html>
form
The form attribute can be used to associate any orphaned form control with any <form> on
the page. You can specify one or more forms an input element belongs to. You just have to
specify the form ids separated using whitespace.
Sample Code:
<!DOCTYPE html>
<html>
<head>
<title>Form Example</title>
</head>
<body>
<form action="#" id="myform">
First name:<input type="text" name="fname" autofocus><br>
Last name: <input type="text" name="lname"><br>
<input type="submit">
</form>
<p>Though the form ends here, the email field is also part of this form!!!</p>
Email: <input type="email" name="email" form="myform">
</body>
</html>
formmethod
The formmethod attribute can be used to override the method attribute of the <form>
element and to specify the HTTP method for sending form data to the action URL when the
form is submitted. You can use formmethod attribute with input types submit and image.
Sample Code:
<!DOCTYPE html>
<html>
<head>
<title>FormMethod Example</title>
</head>
<body>
<form action="http://abctest.com/process.php" method="get">
First name:<input type="text" name="fname" autofocus><br>
Last name: <input type="text" name="lname"><br>
<input type="submit" formmethod="post">
</form>
</body>
</html>
Microdata lets you define your own customized elements and start embedding custom
properties in your web pages. At a high level, microdata consists of a group of name-value
pairs.
The groups are called items, and each name-value pair is a property. Items and properties
are represented by regular elements.
Example
To create an item, the itemscope attribute is used.
To add a property to an item, the itemprop attribute is used on one of the item's
descendants.
Here there are two items, each of which has the property "name" −
<html>
<body>
<div itemscope>
</div>
<div itemscope>
</div>
</body>
</html>
itemscope
1 This is used to create an item. The itemscope attribute is a Boolean
attribute that tells that there is Microdata on this page, and this is
where it starts.
itemtype
2
This attribute is a valid URL which defines the item and provides
the context for the properties.
itemid
3
This attribute is global identifier for the item.
itemprop
4
This attribute defines a property of the item.
itemref
5
This attribute gives a list of additional elements to crawl to find
the name-value pairs of the item.
<div itemscope>
</div>
Properties can also have values that are dates, times, or dates and times. This is achieved
using the time element and its datetime attribute.
<html>
<body>
<div itemscope>
My birthday is:
</time>
</div>
</body>
</html>
Properties can also themselves be groups of name-value pairs, by putting the itemscope
attribute on the element that declares the property.
return !!document.getItems;
Modernizr does not yet support checking for the microdata API, so you’ll need to use the
function like the one listed above.
The HTML5 microdata standard includes both HTML markup (primarily for search
engines) and a set of DOM functions (primarily for browsers).
You can include microdata markup in your web pages, and search engines that don't
understand the microdata attributes will just ignore them. But if you need to access or
manipulate microdata through the DOM, you'll need to check whether the browser
supports the microdata DOM API.
<html>
<body>
<div itemscope>
<p>
src = "http://www.tutorialspoint.com/green/images/logo.png">
</section>
</div>
</body>
</html>
5. ARIA Accessible
Accessible Rich Internet Applications (ARIA) is a set of attributes that define ways to make
web content and web applications (especially those developed with JavaScript) more
accessible to people with disabilities.
It supplements HTML so that interactions and widgets commonly used in applications can
be passed to assistive technologies when there is not otherwise a mechanism. For example,
ARIA enables accessible navigation landmarks in HTML4, JavaScript widgets, form hints
and error messages, live content updates, and more.
ne way we can use ARIA is by adding it to our HTML. You may already be familiar with
semantic elements in HTML such as nav, button or header. It’s quite easy to see what these
elements would be used for. These elements give more meaning to the content of a page,
and we can use a combination of these elements and ARIA in our markup. However, there
are a few things to keep in mind when using them together.
ARIA Roles
ARIA roles are added to HTML markup like an attribute. They define the type of element
and suggest what purpose it serves. The following example identifies the element as some
kind of banner:
<header role="banner">
The following example, often placed in a containing element, suggests that its content
provides some information about the content within the containing element:
<div role="contentinfo">
</div>
<div role="alert">
</div>
This one is my personal favorite, which is used when an element is simply for presentation.
If you imagine someone using a screen reader, think of the elements that they would not
want read out. One example is an element that might contain a visual decoration, or is an
empty element simply serving an image or background color.
</a>
ARIA Attributes
ARIA attributes are slightly different from roles. They are added to markup in the same
way, but there is a range of ARIA attributes available for use. All ARIA attributes are
prefixed with aria-. There are two types of attributes, states and properties.
An example of an ARIA attribute that is a state is aria-checked. This is used to show the state
of elements that are emulating interactive elements, such as checkboxes and radio buttons,
but are not the native elements themselves (e.g. custom UI elements built
with div and span tags).
<span role="checkbox"
tabindex="0"
id="simulatedcheckbox">
</span>
An example of an ARIA attribute that is a property is aria-label. This is used when a label for
a form element is not visible on the page (perhaps because it makes no sense to make it
visible, or if the design dictates this). For cases when label text is visible, aria-labelledby is the
more appropriate attribute to use.
</figure>
You can read more about supported states and properties on the W3C website.
Rules of ARIA
Before you get too keen, remember that we don’t want to be adding ARIA to every
element, for a couple of reasons.
1 text
password
2
A free-form text field for sensitive information,
nominally free of line breaks.
checkbox
3
A set of zero or more values from a predefined list.
radio
4
An enumerated value.
submit
5
A free form of button initiates form submission.
file
6
An arbitrary file with a MIME type and optionally a
file name.
hidden
8
An arbitrary string that is not normally displayed to
the user.
select
9
An enumerated value, much like the radio type.
textarea
10
A free-form text field, nominally with no line break
restrictions.
button
11
A free form of button which can initiates any event
related to button.
Following is the simple example of using labels, radio buttons, and submit buttons −
<p>
</p>
</form>
NOTE − Try all the following example using latest version of Opera browser.
datetime
datetime-local
date
3
A date (year, month, day) encoded according to ISO
8601.
week
5
A date consisting of a year and a week number
encoded according to ISO 8601.
time
6
A time (hour, minute, seconds, fractional seconds)
encoded according to ISO 8601.
number
7
It accepts only numerical value. The step attribute
specifies the precision, defaulting to 1.
range
8
The range type is used for input fields that should
contain a value from a range of numbers.
url
You can use the for attribute to specify a relationship between the output element and
other elements in the document that affected the calculation (for example, as inputs or
parameters). The value of the for attribute is a space-separated list of IDs of other
elements.
<!DOCTYPE HTML>
<html>
<head>
function showResult() {
x = document.forms["myform"]["newinput"].value;
document.forms["myform"]["result"].value = x;
</script>
</head>
<body>
</form>
</body>
This attribute is supported by latest versions of Mozilla, Safari and Crome browsers only.
<!DOCTYPE HTML><html>
<body>
placeholder = "email@example.com"/>
</form>
</body>
</html
HTML5 introduced a new attribute called autofocus which would be used as follows −
This attribute is supported by latest versions of Mozilla, Safari and Chrome browsers only.
<!DOCTYPE HTML>
<html><body>
</form>
</body>
</html>
7. Multimedia
HTML5 has introduced two new multimedia tags, AUDIO and VIDEO, for displaying the
audio and video streams on a Web page.
You can play the multimedia files, which are stored in your local computer, on the Web
page by specifying their location. The src attribute is used to specify the multimedia file to
play it on the Web page.
If the Web browser does not support AUDIO and VIDEO tags, then the text defined
between the starting and the closing tags of these tags are displayed on the Web page.
The AUDIO tag of HTML5 supports only three audio file formats i.e. .oog, .mp3, .wav
autoplay Plays the audio file as soon as the Web page loads
controls Displays the controls on the Web page, such as play and pause buttons
preload Specifies whether the audio file is preloaded on the Web page or not
You can use the VIDEO tag to display a video file on the Web page. The VIDEO tag
supports the .gov and .mp4 file formats.
Attribute Description
autoplay Plays the audio file as soon as the Web page loads
controls Displays the controls on a Web page, such as play and pause buttons
preload Specifies whether the video file is preloaded on the Web page or not
poster Provides an image to be displayed when the video file is not available
You can also use the SOURCE tag within the opening and the closing tags of the VIDEO
tag to provide the source of the video file.
The SOURCE tag is used in a situation when the location of the video file is not confirmed.
In this case, the VIDEO tag plays the first video file located in the specified path. The
following code snippet shows the use of the VIDEO tag :
In the above code snippet, we have defined a video.ogv file in the src attribute. We have
also set the autoplay attribute to true, which implies that the video file start playing as soon
as the Web page loads. the loop attribute is set to 3, which implies that the video file will be
played three times. In addition, the controls attribute displays the controls on the video
player.
An audio file is used to store audio data on various data, such as a computer system,
mp3 players, and mobile phones. To store an audio data, you need to convert it into a
digital format. The process of converting audio data into a digital file is called encoding
of the raw audio data. It involves taking samples of audio data and storing them in a
compressed format to reduce the file size.
An audio player decodes these compressed sample files to make the audio waves
audible. The process of converting a digital file into the audio data is known as
decoding. A codec is performs the encoding and decoding of the raw audio data.
The table given below lists commonly used audio file formats:
File
Format Description
Extension
MP3 files are actually the sound part of MPEG files. MP3 is the
most popular format for music players. Combines good
MP3 .mp3
compression (small files) with high quality. Supported by all
browsers
MP4 is a video format, but can also be used for audio. MP4
MP4 .mp4 video is the upcoming video format on the internet. This leads
to automatic support for MP4 audio by all browsers
Let's look at the following example, to know how to embed audio files into your web
page.
<audio controls>
<source src="songs.ogg" type="audio/ogg">
<source src="songs.mp3" type="audio/mpeg">
Your browser does not support the audio tag.
</audio>
The controls attribute adds audio controls, like play, pause, and volume.
Multiple <source> tags can link to different audio files. The browser will use the first
recognized format.
HTML Video
The table given below lists commonly used video file formats.
MPEG. Developed by the Moving Pictures Expert Group. The first popular
.mpg
MPEG video format on the web. Used to be supported by all browsers, but it is not
.mpeg
supported in HTML5 (See MP4)
WebM. Developed by the web giants, Mozilla, Opera, Adobe, and Google.
WebM .webm
Supported by HTML5
Ogg .ogg Theora Ogg. Developed by the Xiph.Org Foundation. Supported by HTML5
To show a video in HTML, use the <video> tag. Let's look at the following example, to
know how to embed video into your webpage.
The controls attribute adds video controls, like play, pause, and volume.
It is a good idea to always include width and height attributes. If height and width are
not set, the browser does not know the size of the video. The effect will be that the page
will change (or flicker) while the video loads.
Multiple <source> tags can link to different video files. The browser will use the first
recognized format.
Let's look at the following example, to know hot to embed video and set to autoplay
when web page loads.
8. Drawing support
Another new element in HTML5 is the <canvas> tag. It’s just what it sounds like——a
blank surface for drawing. You need to use JavaScript to manipulate and draw on the
canvas.
You may want to give your canvas element an id attribute so you can programmatically
access it from your JavaScript code (or if you’re using jQuery and it’s the only canvas on
the page, you could access it using $(‘canvas’) without needing to name it).
You can also (optionally) specify a height and a width for the canvas. Between the
<canvas> and </canvas>, you can specify some text to display in browsers that don’t
support the canvas element.
Here is a simple example of using the canvas to draw. (I’m attempting to draw the flag
of Scotland. Please forgive any inaccuracies.)
<!DOCTYPE HTML>
<html>
<body>
<canvas id="myCanvas">Your browser does not support the canvas tag.</canvas>
<script type="text/javascript">
// Draw white X
ctx.beginPath();
ctx.lineWidth = "15";
ctx.strokeStyle = "white";
ctx.moveTo(0, 0);
ctx.lineTo(125, 75);
ctx.moveTo(125, 0);
ctx.lineTo(0, 75);
ctx.stroke();
</script>
</body>
</html>
What is SVG?
SVG has several methods for drawing paths, boxes, circles, text, and graphic images.
<!DOCTYPE html>
<html>
<body>
</body>
</html
9. Geolocation
HTML5 Geolocation API lets you share your location with your favorite web sites. A
JavaScript can capture your latitude and longitude and can be sent to backend web
server and do fancy location-aware things like finding local businesses or showing
your location on a map.
Today most of the browsers and mobile devices support Geolocation API. The
geolocation APIs work with a new property of the global navigator object ie.
Geolocation object which can be created as follows −
The geolocation object is a service object that allows widgets to retrieve information
about the geographic location of the device.
Geolocation Methods
The geolocation object provides the following methods −
getCurrentPosition()
1
watchPosition()
2
This method retrieves periodic updates about the current geographic location of the
device.
clearWatch()
3
This method cancels an ongoing watchPosition call.
function getLocation() {
geolocation.getCurrentPosition(showLocation, errorHandler);
Here showLocation and errorHandler are callback methods which would be used to
get actual position as explained in next section and to handle errors if there is any.
Location Properties
Geolocation methods getCurrentPosition() and getPositionUsingMethodName()
specify the callback method that retrieves the location information. These methods are
called asynchronously with an object Position which stores the complete location
information.
The Position object specifies the current geographic location of the device. The location
is expressed as a set of geographic coordinates together with information about
heading and speed.
The following table describes the properties of the Position object. For the optional
properties if the system cannot provide a value, the value of the property is set to null.
Example
Following is a sample code which makes use of Position object. Here showLocation
method is a callback method −
...
Handling Errors
Geolocation is complicated, and it is very much required to catch any error and handle
it gracefully.
The following table describes the possible error codes returned in the PositionError
object.
Example
Following is a sample code which makes use of PositionError object. Here
errorHandler method is a callback method −
// access is denied
...
Position Options
Following is the actual syntax of getCurrentPosition() method −
Here third argument is the PositionOptions object which specifies a set of options for
retrieving the geographic location of the device.
Example
Following is a sample code which shows how to use above mentioned methods −
function getLocation() {
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.
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.
WebSocket Attributes
Following are the attribute of WebSocket object. Assuming we created Socket object as
mentioned above −
Socket.readyState
The readonly attribute readyState represents the state of the connection. It can
have the following values −
1 A value of 0 indicates that the connection has not yet been established.
A value of 1 indicates that the connection is established and
communication is possible.
A value of 2 indicates that the connection is going through the closing
handshake.
A value of 3 indicates that the connection has been closed or could not
Socket.bufferedAmount
2
The readonly attribute bufferedAmount represents the number of bytes of
UTF-8 text that have been queued using send method.
WebSocket Events
Following are the events associated with WebSocket object. Assuming we created
Socket object as mentioned above −
message Socket.onmessage This event occurs when client receives data from
server.
Following are the methods associated with WebSocket object. Assuming we created
Socket object as mentioned above −
Socket.send
Socket.close
2
The close method would be used to terminate any existing connection.
WebSocket Example
A WebSocket is a standard bidirectional TCP socket between the client and the server.
The socket starts out as a HTTP connection and then "Upgrades" to a TCP socket after a
HTTP handshake. After the handshake, either side can send data.
At the time of writing this tutorial, there are only few web browsers supporting
WebSocketinterface. You can try following example with latest version of Chrome,
Mozilla, Opera and Safari.
<!DOCTYPE HTML>
<html>
<head>
ws.onopen = function() {
ws.onclose = function() {
// websocket is closed.
alert("Connection is closed...");
};
} else {
</body>
</html>
JavaScript will hang your browser in situation where CPU utilization is high. Let us
take a simple example where JavaScript goes through a big loop −
<!DOCTYPE HTML>
<html>
<head>
<script>
function bigLoop() {
var j = i;
function sayHello(){
alert("Hello sir...." );
</script>
</head>
<body>
</body>
</html>
Web Storage
HTML5 introduces two mechanisms, similar to HTTP session cookies, for storing
structured data on the client side and to overcome following drawbacks.
Cookies are included with every HTTP request, thereby slowing down your web
application by transmitting the same data.
Cookies are included with every HTTP request, thereby sending data unencrypted over the
internet.
Cookies are limited to about 4 KB of data. Not enough to store required data.
The two storages are session storage and local storage and they would be used to
handle different situations.
The latest versions of pretty much every browser supports HTML5 Storage including
Internet Explorer.
Session Storage
The Session Storage is designed for scenarios where the user is carrying out a single
transaction, but could be carrying out multiple transactions in different windows at the
same time.
Following is the code which would set a session variable and access that variable −
<!DOCTYPE HTML>
<html>
<body>
if( sessionStorage.hits ) {
} else {
sessionStorage.hits = 1;
</script
<p>Close the window and open it again and check the result.</p>
</body>
</html>
Local Storage
The Local Storage is designed for storage that spans multiple windows, and lasts
beyond the current session. In particular, Web applications may wish to store
megabytes of user data, such as entire user-authored documents or a user's mailbox,
on the client side for performance reasons.
ollowing is the code which would set a local storage variable and access that variable
every time this page is accessed, even next time, when you open the window −
<!DOCTYPE HTML>
<html>
<body>
if( localStorage.hits ) {
} else {
localStorage.hits = 1;
</script>
<p>Close the window and open it again and check the result.</p
</body>
</html>
The Session Storage Data would be deleted by the browsers immediately after the
session gets terminated.
<!DOCTYPE HTML>
<html>
<body>
localStorage.clear();
if( localStorage.hits ) {
} else {
localStorage.hits = 1;
</script>
<p>Close the window and open it again and check the result.</p>
</body>
</html>
12. Modernizr
There are several new features which are being introduced through HTML5 and CSS3
but same time many browsers do not support these news features.
You can create CSS rules based on the feature availability and these rules would apply
automatically on the webpage if browser does not support a new feature.
You can download latest version of this utility from Modernizr Download.
Syntax
Before you start using Modernizr, you would have to include its javascript library in
your HTML page header as follows −
As mentioned above, you can create CSS rules based on the feature availability and
these rules would apply automatically on the webpage if browser does not support a
new featur.
Following is the simple syntax to handle supported and non supported features −
/* In your CSS: */
.no-audio #music {
display: none; /* Don't show Audio options */
}
.audio #music button {
/* Style the Play and Pause buttons nicely */
}
<audio>
<source src="audio.ogg" />
<source src="audio.mp3" />
<button id="play">Play</button>
<button id="pause">Pause</button>
</div>
Here it is notable that you need to prefix "no-" to every feature/property you want to
handle for the browser which does not support them.
if (Modernizr.audio) {
/* properties for browsers that
support audio */
}
else{
/* properties for browsers that
does not support audio */
}
Index.html
It begins with a basic HTML5 boilerplate with CDN for jQuery and PubNub.
<script src="https://cdn.pubnub.com/pubnub-3.7.13.min.js"></script>
<script src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
Then, inside the body tag, we added a button calling a JavaScript function to test the
Notification functionality.
function notifyMe(message) {
if (message == undefined) {
message = "Hi there! You clicked a button.";
};
Here it checks if the function is getting any parameters. If not, we are setting a message
as on clicking the button no message is being passed.
if (!("Notification" in window)) {
alert("This browser does not support desktop notification");
}
So we have a basic our HTML5 notification API working. Now we need to get the
messages from PubNub’s channel and pass it to notification API to make these
notifications really realtime.
$(document).ready(function() {
var pubnub = PUBNUB({
subscribe_key : 'demo'
});
pubnub.subscribe({
channel : "pubnub-html5-notification-demo", // Subscribing to PubNub's channel
message : function(message){
console.log(message);
notifyMe(message.text);
}
})
});
Drag and Drop (DnD) is powerful User Interface concept which makes it easy to copy,
reorder and deletion of items with the help of mouse clicks. This allows the user to
click and hold the mouse button down over an element, drag it to another location, and
release the mouse button to drop the element there.
To achieve drag and drop functionality with traditional HTML4, developers would
either have to either have to use complex JavaScript programming or other JavaScript
frameworks like jQuery etc.
HTML 5 DnD is supported by all the major browsers like Chrome, Firefox 3.5 and
Safari 4 etc.
1 dragstart
dragenter
Fired when the mouse is first moved over the target element while a
2
drag is occurring. A listener for this event should indicate whether a
drop is allowed over this location. If there are no listeners, or the listeners
perform no operations, then a drop is not allowed by default.
dragover
3 This event is fired as the mouse is moved over an element when a drag is
occurring. Much of the time, the operation that occurs during a listener
will be the same as the dragenter event.
dragleave
4 This event is fired when the mouse leaves an element while a drag is
occurring. Listeners should remove any highlighting or insertion
markers used for drop feedback.
drag
5
Fires every time the mouse is moved while the object is being dragged.
6 The drop event is fired on the element where the drop was occurred at
the end of the drag operation. A listener would be responsible for
retrieving the data being dragged and inserting it at the drop location.
dragend
7
Fires when the user releases the mouse button while dragging an object.
Note − Note that only drag events are fired; mouse events such as mousemove are not
fired during a drag operation.
function EnterHandler(event) {
DataTransfer dt = event.dataTransfer;
.............
The DataTransfer object holds data about the drag and drop operation. This data can be
retrieved and set in terms of various attributes associated with DataTransfer object as
explained below −
dataTransfer.dropEffect [ = value ]
dataTransfer.types
dataTransfer.clearData ( [ format ] )
4
Removes the data of the specified formats. Removes all data if the
argument is omitted.
dataTransfer.setData(format, data)
5
Adds the specified data.
data = dataTransfer.getData(format)
6
Returns the specified data. If there is no such data, returns the empty
string.
dataTransfer.files
7
Returns a FileList of the files being dragged, if any.
dataTransfer.setDragImage(element, x, y)
8
Uses the given element to update the drag feedback, replacing any
previously specified feedback.
9 dataTransfer.addElement(element)
Set an event listener for dragstart that stores the data being dragged.
The event listener dragstart will set the allowed effects (copy, move, link, or
some combination).
<!DOCTYPE HTML>
<html>
<head>
#boxA, #boxB {
float:left;padding:10px;margin:10px; -moz-user-select:none;
</style>
function dragStart(ev) {
ev.dataTransfer.effectAllowed = 'move';
ev.dataTransfer.setDragImage(ev.target,0,0);
return true; }
</script>
</head>
<body>
<center>
<p>Drag Me</p>
</div>
<div id = "boxB">Dustbin</div>
</center>
</body></html>
The dragenter event, which is used to determine whether or not the drop target
is to accept the drop. If the drop is to be accepted, then this event has to be
canceled.
Finally, the drop event, which allows the actual drop to be performed.
<html>
HTML5 is being developed with emerging features such as Cascading Style Sheets (CSS3), RIA,
and Mobile Web. Its impact on the Web industry will be significant. The other issue is whether
it is possible and desirable to replace Operating Systems with Next Generation Web. In
considering all of these issues in various applications of Next Generation Web, using
interoperable standardized technologies would be extremely useful for seamless fixed and
mobile Web services delivery over the Internet. In that sense, the following recent Web
technology standard issues of W3C show some clues to the future direction of Next Generation
Web.