Tags
In HTML coding, the tags are what you type to tell the page what to display. Tags are like the instructions that the browser uses to present your work.
Tags are contanined inside the < and > characters. Please note: for the purpose of this article, I have subsituted [brackets] for the symbols you would actually use when coding. When you write HTML code, always use these symbols < and > and not [ and ]. If I were to use those symbols for this article, the resulting code would appear and not the HTML.
Adding Images
To add an image to your page, use the following code:
[img src="http://www.website.com/image.jpg"]
The image will display and there is no need to create another tag to end the command. In order to display an image, the image must be hosted on a public Internet server. If you see a photo on another Web site that you would like to add to your page, click on it with the right mouse button. Then select "properties" to see the address for the image, starting with "http". This is the address you use inside the tag. A common problem with this technique is that the Web site you are taking the image from might change or be taken down. This will result in your page displaying a small red "x" with a box around it. You've probably seen this on the Web before. A safer bet is to right mouse click on the photo, select "Save Picture As" and then save it to your computer. Then, upload it to an image hosting site, such as Photobucket. From there, you can link to the picture, knowing that it won't be taken down or changed.
Creating Line Breaks
When you write HTML text, you cannot create a link break by hitting the "Enter" key, as you would in any other word-processing application. It might appear on the screen as if you've created a line break, or a new paragraph, but it will not display this way on the Web page. In HTML, paragraphs are created by beginning the paragraph with the [br] tag and then inserting the tag when the paragraph is done. To start another paragraph, do the same thing. If you don't want to create a new paragraph, but you do want the text to be on the next line down, simply insert the
tag. No close tag is needed.
If you would like to add a horizontal line to separate areas of the page, simply insert the [hr] tag, and no close tag is needed.
Bold, Italic, and Centered Text
To bold text, use the following code:
[strong]This text is bolded[/strong] and this text is not.
It italicize text, use the following code:
[i]This text is in italics[/i] and this text is not.
To center the text on the page use the following code:
[center]The text is centered.[/center]
HTML isn't just for tech geeks anymore. Everyone can benefit from knowing a few basic codes. Just remember, when you are using these codes, don't use the brackets as I have displayed.
Published by Elizabeth C.
I am the director of marketing for a software company in the Washington D.C. area. I'm 31 years old, and I've been involved in many activities, such as running marathons and other races, and dancing for a mi... View profile
The Ten Commandments of HTML CodingSo you want to create web pages?? Here's a list of general rules and advice the considerate web designer should abide by when learning to create documents in standard HTML.
CSS and SEO: The Importance of CSS in Search Engine RankingsThe short of it is this: on the Internet, content is King. When search engines don't have to search for your content, they're more likely to boost your ranking up. At the same t...- Pure Land BuddhismPure Land Buddhism is a way for anyone to transcend the burdens of karma that they carry and attain nirvana by relying on the Buddha Amitabha.
- Myspace Mobsters Friend AddMyspace mobsters is the most popular app on myspace. Here is how you can add more friends on this myspace mobster train.
- Adobe AIR: Security and Popular ApplicationsLet's take a look at Adobe AIR itself, some basic security concerns to be aware of and a couple of the most popular applications for home users.
- The Rhetoric of MySpace
- A Simple and Easy Guide to Creating a Web Page
- Flash Action Scripting: Six Scripts Every Beginner Should Learn
- How to Upload and Post an Image Online
- Elder Abuse: Protecting the Most Vulnerable
- Myspace.com Webpage Design: The Top 3 Profile Editors
- Cultural Comparisons and Contrasts Between Mormons and Muslims Living in Virginia


2 Comments
Post a CommentVery useful article Elizabeth! You can use this code when teaching code tags: <HTML></HTML>
Aw, I was gonna do this! Great minds think alike, thumbs up!