Build Your First Web Page with HTML
The Principles of HTML (Learn how to make your web page using HTML)
Hi,
Computers are actually pretty stupid machines, and those who understand this principle typically spend a lot less time banging their heads on their desks. What computers are very good at is following instructions, and in many cases they do this more accurately and much faster than humans. HTML code is basically a set of explicit instructions you give to a browser so it knows what to do with the information you have given it.
Here is what a very simple web page looks like, in HTML:
Bludge's Music Collection
This is the page text
Even before we go into details about the code above, you can probably figure out about what it does. HTML is designed to be easily read by human eyes.
As you can see, HTML uses snippets of characters between the "" brackets, like . These are called "tags". Every tag we used above also has an ending tag, which looks like this: . The tag says to the browser: "this is the beginning of an HTML page." The ending tag says "this is the end of the HTML page."
The next tag you see is the tag. The information between and typically tell the browser what it needs to know before it displays the content of the page. For instance, you see the tag "nested" within the tag, as follows:
Bludge's Music Collection
The tag tells the browser what to display in the topmost bar of the browser. There are several other useful tags that belong in the tag, but we will cover those later.
After the tag comes the tag. The tag contains the information that will be displayed in the browser window. In the example we used above, we have the following code:
This is the page text
This tells the browser to show a paragraph (which uses the tag "") containing the words "This is the page text" in the browser window.
Are you getting the hang of it? Good. Try copying and pasting the code below into the document you saved earlier ("hello.html"), and open it to see what it looks like.
Note: To open your document with your text editor rather than your browser, take the following steps:
- Right-click your document and hover over the "Open with" option.
- Select "Notepad" from the options available.
Bludge's Music Collection
This is the page text
Now that you know the basic principles of HTML, it's time to actually start building the content of your page with paragraphs and headings.
Regards,
Omar
-
The HTML Object Archive Attribute
| By Chrys | in Programming
In this article I show you what you can do with the HTML Object archive attribute....
-
7 Essential Web Design Principles to Earn And Things to Avoid!
| By karthick | in Web Design
Follow the principles and observe the changes. Happy designing!...
-
Style Sheet
| By Chrys | in Programming
In this article I explain the source of your style sheet, and I tell you some of the principles that govern CSS....
-
How To Put a Twitter Feed Into Your Blog
| By TheEmpire | in Web Marketing
This how-to article takes a look at inserting a Twitter feed into a blogger.com blog. These same principles can be...
-
How to Make Your Own Friendster Lay-out | By dgraphicrookie | in Web Design
A very basic step-by-step guide for making a friendster lay-out....
-
Let’s Learn: Graphic Design | By dgraphicrookie | in Web Design
As long as we have our imagination active, graphics will always be a part of our everyday lives....
-
How to Customize Your Own Website | By mboone84 | in Web Design
Are you starting a new business, and a little low on advertising funds? Or do you just want to create a website to ...
-
Success of E-commerce Website Design | By Marcbenson | in Web Design
The websites are developed with the aim of sharing information. This information exchange may be reciprocal or non-...
-
Make your Own Free Website Using Webs (Formerly Freewebs) | By jeansmith99 | in Web Design
Why do YOU want your own free website? A small business? A blog? An online store? With Webs - formerly known as Fre...
-
Designing an Effective Web Site | By Hammodat | in Web Design
To create an effective web site, certain basic principles must be applied.
... -
how to choose colors for your website | By Hammodat | in Web Design
There's nothing like the right choice of colors to make a Web page work. And nothing like the wrong colors to spoi...








No comments yet.