> Online tutorial : HTML forms
Showing posts with label HTML forms. Show all posts
Showing posts with label HTML forms. Show all posts

HTML tag



tag nameDefinitionSyntax
<a> An anchor text which it used to create hyperlinks in HTML. <a href='enter the website name'>Name of site</a>
<b>Which is used to blod the text in HTML.<b>Enter the header name</b>
<ul> Un ordered list which is list the item in HTML.list is nothing but collection of data. <ul type='type of character'>
<ol>ordered list which is orderly list the item in HTML.list is nothing but collection of data. <ol type='disc/square/circle'>
<font> Which is used specific the particular in text we can using this tag in HTML. <font>Enter the text</font>
<basefont >only used in IE not worked in Mozila and chrome and other browser.
<table> table tag which used to create the table in HTML. <table>
<tr>Table row which is used create the table row.

Marquee is used to scroll the text.
<br> BR is used providing new line at the end of paragraph.
<title>
Title tag is used give the title to webpage.
<body>Body tag is used to display data in client browser.
<h1> h1 is used to biggest heading 1
<h2>h2 is used to biggest heading 2
<h3>h3 is used to biggest heading 3


<h4>h4 is used to biggest heading 4
<h5>h5 is used to biggest heading 5
<h6>h6 is used to biggest heading 6
<p>The tag is used in paragraph.every end of paragraph we can put this tag.
<pre>The tag is used tp preserve the white space and lines in the text.
<div>This is tag is used to make the division of section in the html.
<i>It is used show text as italic.
<strong>It is used strong emphasized the text.
<strike>This is used the strike the text.
<center>This tag is used the center the text.

HTML forms

HTML forms
Form is a typical layout on the webpage by which a user can interact with the web page.
<form> tag is used to has an attribute action which gets executed when user clicks the button on the form.
syntax
Example
<html>
<head>
<title>
HTML forms
</title>
</head>
<body>
<form name='form1' action='get' method='get.html'>
Name<input type='text' name='name'>
</form>
</body>
</html>



Some of parameters:
  • name: it is used to show the name of forms
  • action:
    get: it is used to send to data to client browser.it is shows the value in addressbar.
    post: it is used to send to data to specified HTML page.it is don't shows the value.

  • method:   it is which page we can redirect it.

Output