Introduction to HTML
|
HTML is a computer language used to create websites. The fact that you are looking at this page, means you are also looking at the outcome of html code. It is relatively easy to learn, with the majority of what you really need to know being readily available and for free on the internet.
The word HTML stands for HyperText Markup Language
• HyperText is the method by which you move around on the web — by clicking on special text called hyperlinks which takes you to different pages.
• Markup is what HTML tags do to the text inside them. They mark it as a certain type of text. I will show you in just second what this means.
How does HTML work?
HTML uses a series of short codes called tags. These tags are used to format your text for presentation. HTML is purely a presentation language. If you need to include logic in your code, you will need to combine HTML with other languages such as JavaScript, PHP, JSP, ASP and many others.
Basically, what you do is you pick a tag that is suitable for how you want your text or images to look, and then enclose your text or image within the tag. For example, HTML uses the tag <u > </u> to underline the text. If you wanted to display test as underlined, you would then use the following statement:
<u> Here is my underlined text </u>
This will make your browser display the text as : Here is my underlined text .
HTML Basic structure
Every piece of text that that you would like browsers to treat as HTML has to be enclosed within the <html> </html>; tags. Within the html tags, you have two sections one is called the header, where you put all the information telling the browser what your page is about. Another section is called the body . where you put everything that you want the browser to display.
To demonstrate what I am talking about, every HTML page starts with <html> and ends with </html> as in:
<html>
<head> this is where you put information telling the browser what the page is about. </head>
<body>
This is where you put text and images visible to the human user.
</body>
</html>
If you want to see what this looks like in your browser, the open up Microsoft FrontPage, click on the HTML tab at the bottom the copy the text above and paste it in your FrontPage window. Now, press the “Preview Button” that should give you some idea of what your page will look like in a browser. There are many fancy tools out there for coding HTML, you go ahead and pick the one you like best.
What HTML can I use?
HTML has a large range of tags, and they keep changing, some get faced out (deprecated as computer geeks would call it) and new ones are added. An elaborate list of HTML tags can be found at http://www.w3schools.com/tags/default.asp
|
RELATED ARTICLES: HTML page title So far we have covered the basics of an HTML file. If you were only developing HTML pages for your personal use, titles and all the things that go into the header section of your script may not matter as much. However chances are that you want to develop a set of pages that you want search engines s
Combining PHP and HTML in one script As we have discussed in the Introduction to HTML posting, HTML is mainly a presen
Dealing with HTML forms
HTML forms are used to acquire and work with user input. As you may have noticed in the scripts we have used so far, every variable that was meant to hold user input had been given a value within that script. To get the actua
html reference
Introduction to Accounting
Introduction to Operations Management Operations management encompasses the process of how businesses produce goods and/or services. This involves responsibilities, activities and decisions of those tasked with managing production processes. Almost everything we use, eat or wear is made somewhere, possibly a manufacturing plant or simil
Database Design After gathering and analyzing your requirements, and depending on whether or not your application needs a database to store information; database design is the next big thing. This comes even before you start coding the application program. The reason for this is that, the application program
Internet for beginners
What is the Internet?
The Internet" refers to the worldwide network of interconnected computers, that use a common protocol known as TCP/IP to communicate with each other. Every personal computer, web server, cell phone or other device that people
Introduction to Programming What exactly is programming?
Programming can be defined as the art of telling a computer to do whatever you want it to. If you are reading this posting you probably started off with switching the computer on and then opened the browser that got you to this page.
Every comp
Introduction to SQL The term SQL stands for structure query language. It consists of a set of command that humans use to instruct a computer to store, modify and retrieve information.
This posting and a few more to come will discuss the commands used to create/allocate storage space, how data is stored,
| |
|