Tuesday, February 5, 2013

Date() in Javascript

Display Date in a webpage using Javascript:

<!Doctype html>
<head>
<title>Basic_webpage</title>
<body>
<h1>Today Date</h1>
<br />
<script>
document.write(Date());
</script>
</body>
<head>
</html>

--------------------------------------------------------------

It will display results as 

Today Date


Tue Feb 05 2013 16:48:32 GMT+0530 (India Standard Time)


Web Programming

Web Programming: 


                                   Construction of webpages or web content through scripting and coding using markup and programming languages is described as Web Programming. Basically, webpage can be created using HTML (Hyper text markup language) with the help of basic editors like Microsoft notepad, wordpad and contents can be categorized and can be derived with attractive features by CSS (Cascade style sheets). Images and content of webpage can be animated using Javascript, CGI, perl, ruby, php etc. PHP can be used to create webpages of both server and client side also and data of the tables or database can be stored in MySQL database management systems. 

Basic HTML Webpage

Markup (codeview)
-------------------



BASIC HTML Page: (Viewed in Google Chrome)