Archives for category: HTML 5

What u do if you want to give the option to user to take a new form element in a site you may be

  1. Use JS
  2. Use ajax
  3. Reload page by request to the server

most new user do the last one coz it is easy to use 1 or 2 you have to know a lot and also have to do a lot

But if you can do it by just add a attribute to to your form element

ya it is possible in HTML 5. let see it

copy this and RUN it on the Opera 9.6 (it will not works on the firefox or IE becouse only opera add some HTML5 tag on there one)


<!DOCTYPE html>
<html>
<head>
<title>Sample Order Form</title>
</head>
<body>
<form>
<table>
<thead>
<tr>
<th>Product</th>
<th>Quantity</th>
</tr>
</thead>
</tbody>
<tr id="order" <span style="color:#ff0000;">repeat="template" repeat-start="3"</span>>
<td><input type="text" name="row[order].product" value=""></td>
<td><input type="text" name="row[order].quantity" value="1"></td>
<td><button type="remove">Remove This Row</button></td>
</tr>
</tbody></table>

<<span style="color:#ff0000;">button type="add" template="order"</span>>Add Row</button>

<button type="submit">Submit</button>
</form>
</body>

</html>

Read the rest of this entry »

Advertisements

In 1997 when i was at class five W3C Recommend HTML 4 which one change the world of web. don’t think that i am using HTML from them i am using HTML 4 from 2007 after 10 year of W3C Recommendation but also after 3 year W3C start works for HTML 5 and one year before W3C published the First Public Working Draft of the specification[January 22  2008].

now a days i make up me to update me on HTML 5 from now so that when the age start i can use it without wait a single moment by living on google for some hour i find some useful information let see it together

HTML 5 defines the fifth major revision of the core language of the World Wide Web, HTML. “HTML 5 differences from HTML 4” describes the differences between HTML 4 and HTML 5 and provides some of the rationale for the changes. HTML5 specifies two variants of the same language, a “classic” HTML (text/html) variant known as HTML5 and a XHTML variant known as XHTML5. This is the first time that HTML and XHTML have been developed in parallel.

  • The HTML 5 draft reflects an effort, started in 2004, to study contemporary HTML implementations and deployed content. The draft:
  • Defines a single language called HTML 5 which can be written in a “custom” HTML syntax and in XML syntax.
  • Defines detailed processing models to foster interoperable implementations.
    Improves markup for documents.
  • Introduces markup and APIs for emerging idioms, such as Web applications.

Read the rest of this entry »