Ask a Teacher



how can we create a web page?

A webpage is a document or information resource that is suitable for the World Wide Web and can be accessed through a web browser and displayed on a monitor or mobile devices.
To create a webpage, a text document(eg- notepad),or a specialized HTML editor is needed.HTML is the coding language that make a webpage.
  1. Open a notepad (programs -> Accessories -> notepad), then write html codes that we need.Remember all html tags contain <--> and closing tags contain </-->. Eventually, the -- is replaced with a code.
  2. Type <html>. It is the first tag you write that tells the computer you're starting a webpage. Also close it at the end of the document.
  3. Add the heading of the page with inside the <head>..........</head> tag.
  4. Then give a title to that page inside the <title>........</title> tag. Title tag should come inside the head tag. Your title only shows up in the browser.
  5. Next create a body for webpage using <body>............</body> tag. The bulk of information for your webpage goes between them.
  6. If you want to give a background color and style to the body. Instead of simply writing <body>, write <body style="background_color red">. Also can give hexcode for the color.
  7. To make the text go to the next line by using <br> (break line) tag.
  8. If you want to add marquee, otherwise know as a word that moves across a screen, simply type <marquee> TEXT GOES HERE </marquee>
  9. If you want to add some pictures, use the html code <img src="URL">.......</img>.
  10. Then check to make sure all of your tags are closed.

Example code:

<html>

<head>

<title>

My web page

</title>

</head>

<body bgcolor="yellow">

I Love My School

<marquee>

It's the best school in the world

</marquee>

<img scr="http://www.ourschool.com/kids/common/images/school_image_9.gif">

</img>

</body>

</html>






comments powered by Disqus