Friday, October 14, 2011

Difference in How a Start Tag Looks & How an End Tag Looks?

What Is the Main Difference in How a Start Tag Looks & How an End Tag Looks? If you have ever wanted to add something to a Web page, you may have been provide javascript:;ed with some hypertext markup language, or HTML, code to copy and paste, and the instructions to add it after a certain start tag but before a specific end tag. You must know the difference between these tags in order to insert HTML code in the correct position to get the desired results from your http://www.myaffiliatelink.blogspot.com
page Anatomy of Tags In hypertext markup language (HTML), tags are surrounded by the lesser-than and greater-than signs. For example, when you wish to start the body of an HTML document, you use the start tag "". These tags then surround the content; in this instance, an opening body tag precedes your text, images, forms, and other data before a closing tag. Like the opening tag, the tag itself begins and ends with the greater-than and less-than symbols. However, the closing tag also uses the forward slash to indicate that a tag is ending, as in the following exam The opening and closing HTML tags indicate where sections of a Web page begin and end. When you properly code HTML, some tags belong in certain sections.
https://docs.google.com/present/view?id=dcx38tww_0mvx9nphh
 For example, text and links belong in the body of a document, not the head, which is reserved for the title,
meta-data and calling scripts on the page. Furthermore, when you place an element inside another, you must end the second element before the first. This is known as nesting. For instance, if you create a link inside a list item, you must close the link before the list item. When you do not use both start and end tags, in the correct order and with nesting, browsers may not display your Web page as you want them to. This will occur when you do not close a hyperlink, and the rest of the text and images on the page will link to the anchor. Self-Closing Tags In some instances, a hypertext makeup language tag does not have an ending tag. Rather, the starting tag also incorporates the forward slash into one tag. Self-closing tags, or empty elements, typically do not enclose content. Such is the case with the line break or horizontal rule (divider) tags. Both are single tags that you may use repeatedly in your content. To create a line break between your text, self-close the tag like this: "
". The forward slash follows a space, before the greater-than tag. Other codes that act in this way include the script and input tags. Length One less-important difference between starting and ending HTML tags is the length of the tag. This is because you can applies styles, behaviors, names and other identifying characteristics at the beginning of a tag and do not need to include that information with the end tag. In the following examples, some styles apply to a single link, while a paragraph has the ID of "first." Link Text
Some opening tags may include this information while some may not. The end tag remains the same whether or not you add to the opening tag. Even with the addition of styles or names, the starting tag syntax always directly follows the lesser-than sign, and additional properties follow. Read more: What Is the Main Difference in How a Start Tag Looks & How an End Tag Looks? | eHow.com http://www.ehow.com/info_12027956_main-difference-start-tag-looks-end-tag-looks.html#ixzz1aoLsCnzM Read more: What Is the Main Difference in How a Start Tag Looks & How an End Tag Looks? | eHow.com http://www.ehow.com/info_12027956_main-difference-start-tag-looks-end-tag-looks.html#ixzz1aoLTBm8N Read more: What Is the Main Difference in How a Start Tag Looks & How an End Tag Looks? | eHow.com http://www.ehow.com/info_12027956_main-difference-start-tag-looks-end-tag-looks.html#ixzz1aoKqQS9l

No comments:

Post a Comment