Wednesday, 18 July 2012

How to use noscript tag in html

<!DOCTYPE html> <html> <body> <script type="text/javascript"> document.write("Hello World!") </script> <noscript>Sorry, your browser does not support JavaScript!</noscript> <p>A browser without support for JavaScript will show the text in the noscript element.</p> </body> </html&g...

Wednesday, 18 July 2012 by Unknown · 0

How to insert a script in html

<!DOCTYPE html> <html> <body> <script type="text/javascript"> document.write("Hello india!") </script> </body> </html> document.write("Hello india!") Hello india! ...

by Unknown · 0

How to Specify a title for a document in html

Example to Specify a title for a document in html <!DOCTYPE html> <html> <head> <title>My first HTML page</title> </head> <body> <p>The content of the body element is displayed in the browser.</p> <p>The content of the title element is displayed in the browser's title.</p> </body> </html>...

by Unknown · 0

How to create inline frame using html

Example to create inline frame using html <!DOCTYPE html> <html> <body> <iframe src="http://collegeprojectandtests.blogspot.in/"></iframe> <p>Some browsers don't support iframes.</p> <p>If they don't, the iframe will not be visible.</p> </body> </html> Result: Some browsers don't support iframes. If they don't, the iframe will not be visible...

by Unknown · 0

How to create email form using html

Example to  create email form using html <!DOCTYPE html> <html> <body> <h3>Send e-mail to someone@example.com:</h3> <form action="MAILTO:someone@example.com" method="post" enctype="text/plain"> Name:<br /> <input type="text" name="name" value="your name" /><br /> E-mail:<br /> <input type="text" name="mail" value="your email" /><br /> Comment:<br...

by Unknown · 0

How to create Form with radiobuttons and a submit button using html

<!DOCTYPE html> <html> <body> <form name="input" action="html_form_action.asp" method="get"> <input type="radio" name="sex" value="male" /> Male<br /> <input type="radio" name="sex" value="female" /> Female<br /> <input type="submit" value="Submit" /> </form> <p>If you click the "Submit" button, the form-data will be sent to a page called "html_form_action.asp".</p> </body> </html> Result...

by Unknown · 0

How to create Form with checkboxes and a submit button using html

<!DOCTYPE html> <html> <body> <form name="input" action="html_form_action.asp" method="get"> <input type="checkbox" name="vehicle" value="Bike" /> I have a hyundai car<br /> <input type="checkbox" name="vehicle" value="Car" /> I have a honda bike <br /><br /> <input type="submit" value="Submit" /> </form> <p>If you click the "Submit" button, the form-data...

by Unknown · 0

How to create Form with text fields and a submit button using html

<!DOCTYPE html> <html> <body> <form name="input" action="html_form_action.asp" method="get"> First name: <input type="text" name="FirstName" value="Hari" /><br /> Last name: <input type="text" name="LastName" value="Priya" /><br /> <input type="submit" value="Submit" /> </form> <p>If you click the "Submit" button, the form-data will be sent to a page called...

by Unknown · 0