Home

Wednesday 4 June 2014

What is HTML?

HTML:-

HTML is developed by Tim Berners-Lee in 1990. Full form of HTML language is HyperText Markup Language. Basically HTML is collection of predefined tags, Which is used by developer to create website development and designing pages, form or tables. Every website design pages which you see on the Internet contains HTML code. HTML is understandable by the all browser and after rendering the html page browser display the page content to the display or monitor screen.

Basically html contain some main tags which are as bellow..............

 <html> This is the opening tag of any web page or html page.
<title></title> Between this tag we write our page title.
<head></head> This is head of the web page, between these tag we write css, javascript code or include file.
<body></body> This is the main part of the web page.
</html> This is closing tag of html page which indicate end of page.

HTML5 is the updated version of html4. In HTML5 all basic rules of HTML4 are applied, Some tags are removed from the HTML4 and some new tag are added in updated version of HTML. New elements which are  included in HTML5 are section, article, aside, header, hgroup, footer, nav, figure, figcaption, video, audio, track, mark, progress, meter, time, ruby, rt, rp, canvas, command, details, datalist, keygen and output.
There are some new input types for forms. They are tel, search, url, email, datetime, date, month, week, time, datetime-local, number, range, and color.

website development solution

Tuesday 27 May 2014

How we find difference between two dates

Try this cod


$date1='2010/01/01';
$date2='2011/01/02';
$s1=strtotime($date1);
$s2=strtotime($date2);
$difference = abs($s2 - $s1);
echo $difference/(60*60*24);