www.1001TopWords.com |
HTML Explained: Part 2
Get started creating web pages using text files and HTML code! This article is a continuation of HTML Explained: Part 1, which gives a general overview of HTML. Here, we're going to get into the nitty gritty of the code itself. Once you see how simple it really is, you should RUN, not walk to the nearest bookstore and grab your own copy of a handy HTML manual. All right, let's begin. In viewing the source of web pages, you may have noticed a lot of these things: < >. They're called HTML tags, and they're what the computer uses to interpret the HTML code. NOTE: in this article I had to add spaces to all of my HTML tags so that I could display them without actually having them work. There are two HTML tricks to actually "shutting off" HTML tags, but neither of them function properly in this submission box. The HTML tags shown here will display like so: < FAKE TAG > but in reality you're supposed to type them like so: A friend of mine describes HTML tags as "on/off switches." An easy example which you may be well-familiar with, is the Bold command. To "turn on" Bold, type < B > (but with no spaces). All of the text that comes after the Bold tag, will then be Bolded. To "turn off" the bold characteristic, type < /B >. Any text that comes after the "bold off" tag will unbolded. It's worth mentioning that in all cases, all text that falls between an "on" or "off" HTML tag will take on the characteristic of that tag descriptor. How much text can you put in between two HTML tags? As much or as little as you want. That means, you can use just a couple of HTML tags to design paragraphs and paragraphs of text. What are some other HTML tags that web designers frequently use? < I > and < /I > (for italics)< U > and < /U > (for underline)< BR > (to create a single line break). In most but not all cases, if you activate an HTML tag by enclosing it in these: < >s, you must also deactivate it at some point, as in < I > and < /I > for italics shown above. An exception to this rule is < P >, or paragraph separator tags, and < BR > or line breaks. Specifying Multiple Text Characteristics Within a Single HTML Tag HTML tags work in different ways, depending on the aspect of the design they're controlling. As I mentioned above, you can control all elements of web design via HTML code-page separation, text formatting, image placement, design layout, and hyperlink insertion. For this reason, one HTML tag can include multiple variables. This sounds a lot trickier than it is. For example, a tag with multiple variables enclosed all in one of these: < >, can be used to format text. An equals (=) sign is used to specify multiple characteristics within a single HTML tag. To tag a section of text for font specs, begin with: < FONT FACE= Using no spaces after the equals (=) sign, type your font name in quotes, as so: "arial". You can also specify the size and color here. In the same tag that says to close. Your font tag will now look like this: < FONT FACE="arial" SIZE="2" > (but with no end spaces). If you wanted to, you could also include a color for the text within that tag. The color is entered in the same way as the font face and size, and is named within its own set of quotation marks either in a basic name such as "black" or "red", or a 6-digit numerical code that begins with a number sign. So, an HTML tag that designates a paragraph typed in Arial font at the 2nd smallest size of type, in the color black, would look like this: < FONT FACE="arial SIZE="2" COLOR="black" > All of the type that came after this HTML tag would take on the characteristics above. Once you wanted to "shut off" the font characteristics of that blurb of text, you would type the tag < /FONT >. Using HTML Tags to Add Images to Your Web Page Now suppose you wanted to add an image to your webpage. And let's assume the image was already located in the folder of your website where images are stored. In order to make the image appear in your NEW web page, you need: 1. the complete web address of your website (such as http://www.wordfeeder.com), 2. the folder (or subdirectory) on your server where images are kept, and 3. the file name of the image (ends in .jpg). The HTML code used to "pick up" an image from a source is IMG SRC. As always, it belongs inside those handy bracket-things. So your tag would begin: < IMG SRC= Without typing any spaces before or after the = (equals) sign, you'd then paste the URL of where the image is located (as explained in examples 1, 2 and 3 above), and follow with the filename and .jpg ending. I'll illustrate this with an example from my own web collection of images: < IMG SRC="http://www.wordfeeder.com/sitebuildercontent/sitebuilderpictures/wordfeederlogox.jpg" > By typing that HTML tag with the specific web address and folder information/filename within quotation marks, the computer knows the origin of the image, and will then "hyperlink it" into your web page. If you're ever unsure of the filepath of an image you need, go to the webpage where it's located and then right-click the image. Under "properties", you'll find the complete URL path that must be typed in between the two quotation marks that fall inside your Image Source tag. Note: you do not need to "shut off" an image tag. You can also include multiple variables within a single image tag. For example, if you wanted to left-align the above image, you'd edit the above tag to look like this: < IMG SRC="http://www.wordfeeder.com/sitebuildercontent/sitebuilderpictures/wordfeederlogox.jpg" ALIGN=left > Hyperlink Tags for Email and Website Addresses Ever wonder how webmasters create live links? A live link might say something like, "Click here for more info!" and then when you click there, you're suddenly transported to a new web page. A live link is simply type covering a website address. Check it out: < A HREF="http://wordfeeder.com" >Visit Wordfeeder for more info!< /A > That's HTML code for "hyperlinked text". It looks weird, but think about it this way. The first part in that's enclosed in these: < >, is what turns on the "make the following words into a link that leads to the address I am typing here" function. The end tag, < /A > is what "shuts off" the "hypertext linking" feature and will then let you resume typing in normal, unlinked text. As you can see, by typing a few simple HTML tags, you can create some pretty amazing things. This article is just the tip of the iceberg. I hope that the explanations and examples shown have at least provided a basic understanding of HTML for you. A great way to learn is by "studying" other people's web page code from the View>Source window. You practice by copying their HTML code into your own fake pages, and filling in the "meat" between their "on" and "off" tags with text and images that suit your own purposes. But be careful. If you paste HTML incorrectly, you can totally wreck and corrupt your document. For folks who want to get into serious design, I highly recommend that you buy a comprehensive HTML guide. Once you get the hang of HTML, there's no telling what you can create! Copyright 2005 Dina Giolitto. All rights reserved. Dina Giolitto is a New-Jersey based Copywriting Consultant with nine years' industry experience. Her current focus is web content and web marketing for a multitude of products and services although the bulk of her experience lies in retail for big-name companies like Toys"R"Us. Visit http://www.wordfeeder.com for rates and samples.
|
RELATED ARTICLES
4 Computer Money-saving Tips Tip #1 -- Rebates:A rebate is not always a bargain. Computers with rebates are often close to being discontinued. You may pick up a good deal or purchase technology that's about to become yesterday's news. What's more, stores will often package computers with a bunch of free items to make it look like you're getting more value. Chances are the extras are either poor quality or items you're unlikely to use. Also, they're counting on you to not redeem your rebate, a very common occurrence. Computer Consulting 101 PC Troubleshooting Advice While most small businesses really do need to find a good local computer consulting business to take care of their computer problems, there are some computer problems that are simple enough for even a technophobe to handle. At Computer Consulting 101, we've found there's one very simple piece of advice that often doesn't get communicated to non-technical small business end users: When in doubt, reboot first. Email Management If you utilize a computer at home or work it is likely that you use email. Email is an electronic message that is sent from one computer to another following a specific protocol (Simple Mail Transfer Protocol or SMTP). As email's popularity has grown so too have the inherent problems with email. Buying A PC Flat Screen Monitor For six years, my Samsung PC 13.8 inch SyncMaster conventionalmonitor has served me well.Since the appearance of the flat screen LCD monitor, it has become obsolete. Perhaps, the flatscreen's image of flat and thin is more pleasing than large andbulky. Because impulse buying controls the marketplace, for me it's a matter of a want verses a need. As an average consumer,I want the best value for my money as well as a comparable pricewithin my budget. Toshiba Wins Hollywood Support for the HD DVD format What led them to this choice, as all four studios stated separately, is better performance for the price and copyright protection. HTML Explained: Part 2 Get started creating web pages using text files and HTML code! This article is a continuation of HTML Explained: Part 1, which gives a general overview of HTML. Here, we're going to get into the nitty gritty of the code itself. Once you see how simple it really is, you should RUN, not walk to the nearest bookstore and grab your own copy of a handy HTML manual. All right, let's begin. Image Formats: GIF, JPEG, BMP When browsing the internet you are likely to come across many different image formats. However, the most common formats are: CompuServe GIF, JPEG, and Bitmaps. Buying a Personal Computer (PC) For many people the computer industry is a seeming unsolvable jungle filled with mysterious words. Here is a guide to help you understand the personal computer and to give you the information needed to make a shopping decision you can live with so you can enjoy your PC for years to come. Temporary Fixes to Spyware, Ad-ware, and Virus Infections So you've got some spyware, ad-ware, or viruses on your system. For whatever reason, you are unable to get ahold of a virus detection & removal program, or a good ad-ware scanner. Maybe this certain infection has disconnected you from the Internet. Such viruses do exist. Make Windows XP Run Faster! A friend told me: "My computer startup seems to be taking a long time. And when the hard disk finally stops churning, everything just seems slower than when it was new. Can you suggest any maintenance tips to reduce the startup time and make Windows run faster?" Compare MP3 Players for the Coolest Features and Sweetest Deals How can you compare mp3 players to be sure you're getting the best features and price? You've checked some mp3 player ratings, and they're helpful. But iPod reviews and ratings don't answer all your questions. So how do you decide? A Tale of Two Regeds Tech support tells me to type 'regedt32' as opposed to 'regedit' to access the registry from the command line (Start > Run). I question the use of 'regedt32,' but he says to do it anyway. Whenever I use the registry editor, I recall this incident and never look up the tale of the two regs... until now. Three Things You Can Do to Keep Your Computer Running at Maximum Performance Although there are many things that can affect the performance of your computer, there are a few simply things you can do each month to help keep your computer running at maximum performance. This article will focus on two problems that impact the performance of your computer and will then explain what you can do about it. Font Organizers Review, Part I Do you know how many fonts are currently installed on your PC? What is the difference between OpenType, TrueType, PostScript Type 1 and Printer fonts? If the answer is 'No', it's time to consider getting a font organizer. PDA Bible Free Download Your Bible At Your Fingertips USB Drives - What to Look For in a USB Device Those small USB drives have so many names, pocket drives, thumb drives, USB Pen, Jump drives, and several other names, but when it comes down to it, we are all talking about a small portable, reusable storage media that fits in the palm of your hand! New Computer? Steps to Protect Your Computer Before Connecting to the Internet Getting a new computer should be an exciting and gratifying experience. After all, you'll be able to do things faster, safer and without having to worry that your old hard drive is so full that one more file will "break the camel's back." Cisco Certification: What To Expect On Exam Day Cisco Certification: Taking Your First Certification Exam Cisco Certification: A Survival Guide To The Cisco Cable Jungle One of the most confusing parts of beginning your Cisco studies is keeping all the cable types separate in your mind, and then remembering what they're used for. This often occurs when a CCNA or CCNP candidate starts putting together their own home practice lab, and they suddenly realize that they have the equipment to run labs, but not the cables. SOBIG.F Virus Promises Ill Be Back On 21 August 2003 Symantec Security Response upgraded the W32.SOBIG.F threat to a category 4. |
© Athifea Distribution LLC - 2013 |