Unit 6 Read Me
Unit 6 Read Me
Unit 6 Read Me
HTML5 – Introduction
Snap recap
1. List the various tags of HMTL you have learnt so far.
<FRAMESET>
<FRAME>
<HTML>
<Body>
<a>
<Doctype>
<Title>
<Head>
<Audio>
<P>
<Img>
<Table>
<br>
<ul>
<ol>
<td>
<tr>
<li>
Learning Objectives
You will learn about:
New features in HTML5
Backward compatibility
Points to remember for writing HTML5 codes
Tag in HTML5
Attributes in HTML5
Inserting pictures in HTML5
Inserting audio and video files in HTML5
Introduction
HTML stands for Hyper Text Markup Language.
It is used to create web pages with hypertext and hyperlinks that can be viewed by
any web browser.
There are several versions of HTML.
HTML5 is the latest specification of HTML.
It is currently supported by google chrome, Mozilla Firefox, Opera 12, Internet
Explorer 8 om wards and Safari 6.
New Features
The reason for lunching HTML5 are..
HTML5 is an independent markup language and no longer a part of SGML.
It can be used on desktop as well as mobile devices.
A web page is treated as a web document having a specific structure with new tags
like <header>,<footer>,<article>,<nav>,<sections>,<aside>,<figure>,<audio>,<video>.
Backward compatibility
Backward compatibility means the compatibility of the new HTML5 with the older
versions of the markup language feature to run in older versions of web browsers,
along with new features supported by latest web browsers.
Structural elements
Attributes in HTML 5
The value assigned to an attribute can be enclosed in double or single quotes.
Custom Attributes
These attributes are created by the user for a specific element. To create a custom
attribute we use”data-“ followed by the desired custom attribute name and then set
to the desired string value.
Inserting images
We can insert images in HTML 5 in two ways.
<img> is used to insert simple or animated images in a webpage. The image formats
supported by this tag are jpg.gif,pin,jpeg and webp.
The attributes used with the <img> tag are:
Src : Alt : Height : Width : Border : Align