How to create form in HTML?

HTML Forms are necessary when you want to save some data from the site visitor. For example during user registration you would like to assemble in order such as name, Address, email address, Cell Number, etc.
A form will take input from the site visitor and then will post it to a back-end request such as CGI, ASP draft or PHP draft etc. The back-end application will seoservice17.blogspot.com make required doling out on the passed data based on defined trade logic inside the submission.



There are a choice of form elements available like text fields, textarea fields, select box, drop-down menus, radio buttons, checkboxes,  etc.
The HTML <form> tag is used to create an HTML form and it has follow syntax:
<form action="Script URL" method="GET|POST">
    form elements like input, textarea etc.
</form>

 

Form Attributes:

Apart from familiar attributes, follow is a list of the most commonly used form attributes:


Action = Backend script ready to process your passed data.
Method = Method to be used to upload data. The most frequently used are GET and POST methods.
Target = Specify the target window or frame where the result of the script will be displayed. It takes
                 values like _blank, _self, _parent etc.
enctype = You can use the enctype attribute to specify how the browser encodes the data before it
    sends it to the server. Possible values are:
·                   submission/x-www-form-urlencoded - This is the average method most forms use in simple      
          scenario.
·                   complex/form-data - This is used when you want to upload binary data in the form of files like   
           image, word file etc.    seoservice17.blogspot.com

HTML Form Controls:

There are special types of form controls that you can use to save data using HTML form:

  1. Text Input Controls
  2. Checkboxes Controls
  3.  Radio Box Controls
  4. Select Box Controls
  5. File Select boxes
  6. Hidden Controls
  7.  Clickable Buttons
  8. Submit and Reset Button

Text Input Controls:

There are 3 types of text input used on forms:

  • Single-line text input controls - This control is used for items that require only one line of user input, such as search boxes or names. They are created using HTML <input> tag.

  •  Password input controls - This is also a single-line text input but it masks the character as soon as a user enters it. They are also created using HTMl <input> tag.

  • Multi-line text input controls - This is used when the user is required to give details that may be longer than a single sentence. Multi-line input controls are created using HTML <textarea> tag.

Single-line text input controls:

This control is used for items that want only one line of user input, such as search boxes or names. They are created using HTML <input> tag.

Example

Here is a example of a single-line text input used to take first name and last name:
<!DOCTYPE html>
<html>
<head>
<title>Text Input Control</title>
</head>
<body>
<form >
First name:  <input type="text" name="first_name" />
<br>
Last name:  <input type="text" name="last_name" />
</form>
</body>
</html>
 
This will produce following result:



Attributes

Following is the list of attributes for <input> tag for creating text field.

Password input controls:

This is also a single-line text input but it masks the character as soon as a user enters it. They are also created using HTML <input> tag but type attribute is set to password.

Example

Here is a example of a single-line password input used to get user password:
<!DOCTYPE html>
<html>
<head>
<title>Password Input Control</title>
</head>
<body>
<form >
User ID :  <input type="text" name="user_id"/>
<br>
Password:  <input type="password" name="password"/>
</form>
</body>
</html>
 
This will produce following result:

 

 

Multiple-Line Text Input Controls

This is used when the user is required to give details that may be longer than a single sentence. Multi-line input controls are created using HTML <textarea> tag.

Example

Here is a example of a multi-line text input used to take item description:
<!DOCTYPE html>
<html>
<head>
<title>Multiple-Line Input Control</title>
</head>
<body>
<form>
Description : <br />
<textarea rows="5" cols="50" name="description">
Enter description here...
</textarea>
</form>
</body>
</html>
This will produce following result:

 

 

Attributes:

Following is the list of attributes for <textarea> tag.

Checkbox Control

Checkboxes are used when new than one option is required to be selected. They are also created using HTML <input> tag but type attribute is set to checkbox.

Example

Here is an example HTML code for a form with two checkboxes:
<!DOCTYPE html>
<html>
<head>
<title>Checkbox Control</title>
</head>
<body>
<form>
<input type="checkbox" name="maths" value="on"> Maths
<input type="checkbox" name="physics" value="on"> Physics
</form>
</body>
</html>
 
This will produce following result:

Radio Button Control:

Radio buttons are used when out of many option; just one option is required to be select. They are also created using HTML <input> tag but type attribute is set to radio.

Example

Here is example HTML code for a form with two radio buttons:
<!DOCTYPE html>
<html>
<head>
<title>Radio Box Control</title>
</head>
<body>
<form>
<input type="radio" name="subject" value="maths"> Maths
<input type="radio" name="subject" value="physics"> Physics
</form>
</body>
</html>


Select Box Control:

A select box, also called drop down box which provide option to list down various options in the form of drop down list, from where a user can select one or more options.

Example

Here is example HTML code for a form with one drop down box
<!DOCTYPE html>
<html>
<head>
<title>Select Box Control</title>
</head>
<body>
<form>
<select name="dropdown">
<option value="Maths" selected>Maths</option>
<option value="Physics">Physics</option>
</select>
</form>
</body>
</html>


File Upload Box

If you want to permit a user to upload a file to your web site, you will need to use a file upload box, also known as a file choose box. This is also created using the <input> element but type attribute is set to file.

Example

Here is example HTML code for a form with one file upload box:
<!DOCTYPE html>
<html>
<head>
<title>File Upload Box</title>
</head>
<body>
<form>
<input type="file" name="fileupload" accept="image/*" />
</form>
</body>
</html>
 

Button Controls

There are various ways in HTML to create clickable buttons. You can also create a clickable button using <input> tag by set its type attribute to button. The type attribute can take the following values:

Example

Here is example HTML code for a form with three types of buttons:
<!DOCTYPE html>
<html>
<head>
<title>File Upload Box</title>
</head>
<body>
<form>
<input type="submit" name="submit" value="Submit" />
<input type="reset" name="reset"  value="Reset" />
<input type="button" name="ok" value="OK"  />
<input type="image" name="imagebutton" src="/html/images/logo.png" />
</form>
</body>
</html>


Hidden Form Controls:

Hidden form controls are used to hide data inside the page which later on can be pushed to the server. This control hides inside the code and does not appear on the actual page. For example, following hidden form is being used to keep current page number. When a user will click next page then the value of hidden control will be sent to the web server and there it will decide which page has be display next based on the passed current page.

Example

Here is example HTML code to show the usage of hidden control:
<!DOCTYPE html>
<html>
<head>
<title>File Upload Box</title>
</head>
<body>
<form>
<p>This is page 10</p>
<input type="hidden" name="pagename" value="10" />
<input type="submit" name="submit" value="Submit" />
<input type="reset" name="reset"  value="Reset" />
</form>
</body>
</html>
 

 Play the video tutorials for learn more how to create form in HTML===>>

 




How to start a blog?

If you’ve interminably wondered how to start a blog, you’re in luck because that’s exactly what I’m going to show you today.
20-30 minutes is all you need, and you DON’T essential any knowledge of HTML, coding or graphics design.
I went back to it, taking ultimately learnt that I needed not just a domain name but also a hosting account to open a blog.
So I ongoing my first blog, and resisted with each step because I take no one to monitor me. You can setup a blog in 20-30 minutes, but it procured me 2 months the first time.
I’ve educated a lot about blogging and I’ve setup many successful blogs for myself. I know what best performs to use and the mistakes to avoid.
I want to help you avoid all the troubles I tolerated.So, learn from past, not skill. I’ll tell you how to make a blog that’ll succeed, so you can forget everything else.

Just trail the simple steps below, and your blog could be all set in 20-30 minutes.

How to start a blog in Six steps!

1. Why you want to start a blog?
2. Decide Whatyour blog will focus on website?
3. Select a blogging platform.
4. Select a web host.
5. Install WordPress using Webhosting Hub.
6. Login to your new blog and start blogging.

see my blog seservice17.blogspot.com
  

Step 1: Why you want to start a blog?


When you know your destination, getting your direction becomes easier, right?

Public start blogs for different aims. Nowadays, blogging is a great fashion:
  • Become a well person. Blogging helps you think clearer, join with intentionally and build your innovative talent.
  • Develop your writing. Writing skill comes with regular preparation and initial a blog advantages you write regularly
  • Make your voice received. Gone are the days when only powerful candidates and rich entrepreneurs could air their assessments. Now, you too can!
  • Make a change. You want to help people take control of their private finance? Start your own blog. You wish people would test more, take improved meals and rest well? Start a blog.
  • Become published. The world is moving, and modern publishers are dropping into triviality. Smart writers now make a blog, build a faithful audience and publish their workings. This style works always.
  • Make money. It takes time and promise but people make actual money from blogs.

 Step 2: Decide, What your blog backbone focus on?


People start different classes of blogs.
Photography blogs, Writing blogs, Political blogs, Romance blogs, Travel blogs, Religion blogs, Vegetarian blogs, marketing blogs. Fashion blogs.
So what type of blog would you start?
What will be the focus or theme of your blog? This theme is called a position –– and you must have one.
The best is to take a place you are loving about. Blogging is to be loved. You know, there’s self-actualization in connecting with others and provided that helpful information. You’ll experience this joy, and be able to do it for long, if you’re avid about what you blog about.
When I lastly sprang my first blog, I found I was really obsessive about lettering and publishing. So I made that my position and was able to join with, learn from and impression many wonderful persons. I even made money from it. I was satisfied.
What are your interests?
What do you feel happy doing? What are you always happy to talk about to your groups?
Is it fashion, knowledge, free enterprise, direction, food, traveling, relationship, movies or creative writing? That’s possibly what you should be blogging about. If you adore about it, you can keep input useful information about it.
Make a blog now and talk about what you love, what you know, and what you’re learning. It’s easy, and you CAN do it.

Step 3: Decide Which of the blogging platforms you will use?


The question, “How do you start a blog?” has many other answers. You can do it on blogging platforms like:
  • Blogger: e.g. seoservice17.blogspot.com
  • Hosted WordPress: e.g. seoservice17.wordpress.com
  • Self-Hosted WordPress: e.g. seoservice17.com
The first two options are free. But they’re also gawky and dreadful, don’t you think?
If your interest is to start a blog for commercial, a self-hosted WordPress blog is other qualified. If it’s to do it for a cause or as a hobby, a self-hosted WordPress blog is newstylish.

The free blogging platforms aren’t really free===>>>


They come with Lots of annoying limits that just subject you. Here are Fiveof them:
Limit-1: if you think the businesses allowing you to create a blog on their blogging stages for free do so because they love you, you’re wrong. They only do so to make money off of you. That’s why they put up advertisements on your blog and ask you to pay to enjoy promotions. Go for a self-hosted blog so you won’t be a move in a car employed to make another company unlikely.
Limit-2: you’re not permitted to do join marketing on free blogs. Some of them further proscribe Google Adsense and other cool ways to make money blogging. That’s not how to start a blog correctly.
Limit-3: you can’t use any of the thousands of amazing plugins and themes accessible to a self-hosted blog. After making a blog, plugins help you extend the functionality of the blog, the same way apps extend the functionality of a phone. Imagine having a phone without being able to install and use apps. Is it cool to live in a house you’re forbidden from painting and designing? If it’s not, then it sucks to have a blog without being able to use a theme on it.
Limit-4: you can’t use a institution email like wells@glogspot.com. That’s not casual. You rate something well.
Limit-5: on free blogging stages, your blog can be deleted at any time if the business’s server mistakes your blog for a spam, or if you unintentionally interrupt their instructions. And conjecture what – you have no preparation if that happens.
So the smart choice is to go with a self-hosted blog.
How much does a self-hosted blog cost?
Turns out, not much.
What you’ll pay to set up your blog is less than a movie ticket. First, you’ll need a domain name – usually sold for minimum $10-$20. But I will inform you how to take it for FREE.
Then you will must a hosting account which expenses less than $60-$80  for the 1st year.
I’ll confirm you how trouble-free both steps are in a moment.

Step 4: Decide which web host to use.


In my many years of create and running blogs, I have learn from harsh experiences that Not many web hosts are amazing. I’ve used some big name web hosts in the past, and while they make sweet promise, their services are not really that good.
  • Their servers often had issues and make my sites load slowly and go down too repeatedly.
  • Their client agents be often too energetic, clueless or too busy with other things to properly offer a help when I needed it.
  • They do some hostile, spam my marketing like installing plugins or placing their links on my websites without my permission

Why Web Hosting Hub is reliable?


01. They present 24/7 client support during chat, phone, or email and in my knowledge, their client service rep are helpful, polite and qualified.
02. They give you a free domain name – some web hosts sell a domain name for $10-$20 per year.
03. Their service is very easy to use, and specially customized for WordPress blogs. Whether you are an expert or a non-geek, they will make your experience excellent.
Disclosure: I am an associate of Web Hosting Hub and if you sign up through any of the links on this page, I may get a little commission (at no extra cost to you). But this didn’t manipulate my proposal, because all hosting services have similar programs. I advise Web Hosting Hub because I have individual experience with them and honestly believe they offer amazing quality. And, I have been able to get a special discount for my readers who use any of the discount links on this page.
04. They have a “one-click WordPress blog” installation, so you can install WordPress with few clicks.
05. So if you open a blog now and decide soon that blogging is not something you want to do again, you can stop your account and get a repay.
Step 5: How to create a blog using Webhosting Hub
go to WebHostingHub and clickรจ Order Now.

On the next page, choose your hosting plan. If you’re a starter, I’d go with “Spark.”

On the next page, enter the domain name you want to register for free, choose the domain extension (I’d go with “.com“) and click “Search Domain”. If you already have a domain name, enter it on the tab to the right.



If the domain name you’ve chosen is already taken, you will be prompted to choose another domain name. If it’s available, you’ll see the page below. Whoich Privacy is possible. Unless you extremely want to be nameless, I’d uncheck it and Click “Continue“.
On the next page, enter your personal information.


Still on the same page, scroll down and you will see the optional “automatic Secure Backups“. I did not choose “No Thanks”.

Scroll down and check “Install WordPress“. This saves you some time.

Scroll down and choose the duration of your hosting plan. If you’re just starting out, I’d go with Spark for 12 months. Enter your payment information:

Agree to the terms and conditions, check that all your information is correct and click “Purchase“.

The next page shows that your order is successful. And within few minutes, WebHostingHub would email you a username and password for your WordPress installation.
Congratulations! That’s all it takes to create a hosting account with WebHostingHub.
Step 6: Login to your new blog and start blogging.
Open a new browser tab and go to “http://YourNewBlog.com/wp-admin” (replace “YourNewBlog.com” with your blog domain name). Login with the username and password you’d have received by email in step 5 above.

Play this video for total blog open tutorials:




You’ll see your blog dashboard. This is the “back side” of your website from where you set everything that your readers see on the “front side”.
Look to the left of your dashboard and you’ll see menus.



If you want to publish a new post on your blog right away, that’s totally fine. The post doesn’t have to be perfect; it just has to be published, to get you started. So go ahead and do it.

Hover the mouse on “Posts” and click “Add New” from the sub-menus that pop out.




Add the title of your post in the first tab and the content in the second tab.
When the next page loads, click “View post” to see how your new post appears to your readers.
That’s all there is to creating a blog. 20-30 minutes is all you need.