Blogroll

LightBlog

Breaking

LightBlog

Tuesday 12 November 2019

How To Create Your First Web Page?

Create Your First Web Page


Creating a web page for your website is really not a big deal. You just have to concern about the language by which you are going to create your web page.
Before going further let's understand what is a web page?

A web page is a page which is written in any hypertext language which is connected to the worldwide and easily accessible.

Now let's understand what is a web site?

A website is a bundle of many web pages that are interconnected to each other. For example, if you have created ten web pages, and if you connect all those web pages with each other is called a website.

How to create a web page?

Now there are multiple ways to create a web page. But I am going to tell you here the simplest way to create it.
So, the simplest way to create a web page is to create it by HTML and CSS. These two are not programming languages but mostly used to create websites whether it is a dynamic website or a static website.

How to create a web page using HTML?

HTML is known as hypertext markup language. It is the basic and most important language to create a web page. We can say that without HTML we cannot create any web page, so it's very important to learn this language.

Now, to learn HTML language either you go to any institute where web developing is being taught or if you want to learn it from the internet, then yes you can also learn it through the internet.

To learn HTML language from the internet you have to go to the official website of W3school. Where you can easily learn it.

But if you are still reading this post then here I'll show you how an HTML language looks like and how you can create your own web page.

You just need a text editor.
And you have to start with a code like this:

<html>
this is the starting opening code, now you have to close it writing </html>.
Now between these two codes, you have to mention two things which are: <head> </head>
and <title> </title>.

These all are called tags.
Now make sure you have written the title tag inside the head tag.
Now, inside the title tag you have to write the title of your website. After finishing it, after the head tag you have to write the body tag : <body> </body>
Now between these two body tags whatever you write, will be showing in youe=r website.

Now inside the body tag, write this:

<form action="#" name="StudentRegistration" onSubmit="return(validate());">

<table cellpadding="2" width="20%" bgcolor="99FFFF" align="center"
cellspacing="2">

<tr>
<td colspan=2>
<center><font size=4><b>Student Registration Form</b></font></center>
</td>
</tr>

<tr>
<td>Name</td>
<td><input type=text name=textnames id="textname" size="30"></td>
</tr>

<tr>
<td>Father Name</td>
<td><input type="text" name="fathername" id="fathername"
size="30"></td>
</tr>
<tr>
<td>Postal Address</td>
<td><input type="text" name="paddress" id="paddress" size="30"></td>
</tr>

<tr>
<td>Personal Address</td>
<td><input type="text" name="personaladdress"
id="personaladdress" size="30"></td>
</tr>

<tr>
<td>Sex</td>
<td><input type="radio" name="sex" value="male" size="10">Male
<input type="radio" name="sex" value="Female" size="10">Female</td>
</tr>

<tr>
<td>City</td>
<td><select name="City">
<option value="-1" selected>select..</option>
<option value="New Delhi">NEW DELHI</option>
<option value="Mumbai">MUMBAI</option>
<option value="Goa">GOA</option>
<option value="Patna">PATNA</option>
</select></td>
</tr>

<tr>
<td>Course</td>
<td><select name="Course">
<option value="-1" selected>select..</option>
<option value="B.Tech">B.TECH</option>
<option value="MCA">MCA</option>
<option value="MBA">MBA</option>
<option value="BCA">BCA</option>
</select></td>
</tr>

<tr>
<td>District</td>
<td><select name="District">
<option value="-1" selected>select..</option>
<option value="Nalanda">NALANDA</option>
<option value="UP">UP</option>
<option value="Goa">GOA</option>
<option value="Patna">PATNA</option>
</select></td>

</tr>

<tr>
<td>State</td>
<td><select Name="State">
<option value="-1" selected>select..</option>
<option value="New Delhi">NEW DELHI</option>
<option value="Mumbai">MUMBAI</option>
<option value="Goa">GOA</option>
<option value="Bihar">BIHAR</option>
</select></td>
</tr>
<tr>
<td>PinCode</td>
<td><input type="text" name="pincode" id="pincode" size="30"></td>

</tr>
<tr>
<td>EmailId</td>
<td><input type="text" name="emailid" id="emailid" size="30"></td>
</tr>

<tr>
<td>DOB</td>
<td><input type="text" name="dob" id="dob" size="30"></td>
</tr>

<tr>
<td>MobileNo</td>
<td><input type="text" name="mobileno" id="mobileno" size="30"></td>
</tr>
<tr>
<td><input type="reset"></td>
<td colspan="2"><input type="submit" value="Submit Form" /></td>
</tr>
</table>
</form>

This is a basic form which you can create just by using html.

No comments:

Post a Comment

Adbox