The usage of HTML 5 - Syntax

In HTML 5.0 is a bit of every thing for Developer, Mobile Developer, Designer. Every one needs to understand the nature of role and expertise and accordingly handle HTML 5.0 coding for Web Browsers.



HTML 5.0 Consists of:


1.New Elements
2.Attributes
3.Full Support of CSS3
4.Video and Audio Graphics
5.Multimedia Files
6.Providing Local data storage
7.New elements for headers, footers, menus, sections and articles.
8.New Selectors,New Properties,Animations,2D/3D Transformations,Rounded Corners,Shadow Effects etc in CSS3.

HTML 5 Syntax:


1.Always DOCTYPE is required to enable standards for HTML docs as <!DOCTYPE html>
2.If we need lower case doctype declaration can use in lower case as <!doctype html>

Example

<section>
<b>this is a bold letters</b>
</section>

Example 2:
<section>
<b>this is a blod letters</b>
<p>This is a paragraphs</p>
<h3>This is a header line</h3>
</section>

In HTML 5 you can close empty html elements which is optional in this version.

Example:

<meta charset="rtf-8">

Post a Comment

0 Comments