HTML (Hypertext Markup Language) is the set of markup symbols or codes inserted in a file intended for display on a World Wide Web browser page. that contain connections called hyperlinks to other pages. The markup tells the Web browser how to display a Web page’s words and images for the user. Every web page you see on the Internet, including this one contains HTML code that helps format and show text and images in an easy to read format. Without HTML a browser would not know how to format a page and would only display plain text with no formatting that contained no links. Below is an example of a basic web page in HTML code.
An HTML attribute is a modifier of an HTML element type. An attribute either modifies the default functionality of an element type or provides functionality to certain element types unable to function correctly without them. Several basic attributes types have been recognized, including:
(1) required attributes, needed by a particular element type for that element type to function correctly;
(2) optional attributes, used to modify the default functionality of an element type;
(3) standard attributes, supported by a large number of element types; and
(4) event attributes, used to cause element types to specify scripts to be run under specific circumstances.
In common usage, the terms “HTML element” and “HTML tag” are used interchangeably. A tag is an element is a tag. But according to the W3C HTML specification, an element is the basic building block of HTML and is typically made up of two tags: an opening tag and a closing tag. For example, the paragraph elementis made up of the opening tag and the closing tag . The element is the collection of both the starting tag and the ending tag. In other words, the element is the entire HTML block that creates a paragraph. And the tags are the two pieces of the element—the opening piece and the closing piece. Most HTML elements have an opening tag and a closing tag. These tags surround the text that will display on the web page. For example, the paragraph tag has an opening tag: and a closing tag: . To write a paragraph of text, you write the text to display on the page and then surround it with these tags: This is a paragraph that will display on the web page. It is surrounded by opening and closing paragraph tags. Some HTML elements do not have a closing tag. These are called “singleton” or “void” elements. Void elements are easy to use because you only have to include one tag in your web page. For example, to add a line break to your page you would use the BR tag: Void elements have only one tag as part of the element, but in XHTML, you would also include a trailing slash in the beginning tag to show that it is a void element. For example, in XHTML to add a line break you would use the BR element with a closing slash: In general, when I refer to an HTML element or tag, I will use the term “element” to indicate that I am referring to all parts of the element (both opening and closing tags). But I may use the term tag to mean the same thing—an HTML item that will define something on your web page.
The element holds one or more elements. Each element can hold a separate document. The element specifies HOW MANY columns or rows there will be in the frameset, and HOW MUCH percentage/pixels of space will occupy each of them. example : A simple two framed page.
Point the body background to the name of your image you wish to use as the background as shown below. This body line should be the first line after your tag. You can also have the background image fixed, so it does not move when using the scroll bar in the browser. To do this add the BGPROPERTIES tag as shown below.
• unordered list • ordered list • directory list • definition list • menu list
Using indents, you could keep the list elements organized. By indenting each sub-nested list further than the parent list, you could quickly determine the different lists and the elements contained in each.
An image map allows you to link to several web pages through one image. Simply define shapes within images and link these to the pages you want. Here’s a video to help you learn more about images and links in HTML.
You need to type © or © in an HTML file to insert the copyright symbol.
To link an image, use tags. You need specify the image in quotes using the source attribute, src in the opening tag. For hyperlinking, the anchor tag, , is used and the link is specified in the href attribute. Text to be hyperlinked should be placed between the anchor tags. Little known fact: href stands for �hypertext reference.� When linking to an email, thehref specification will be �mailto:[email protected]� See examples below: Skilledup Email Me
Many browsers identify themselves when they request a document. A CGI script will have this information available in the HTTP_USER_AGENT environment variable, and it can use that to send out a version of the document which is optimized for that browser. Keep in mind not all browsers identify themselves correctly. Microsoft Internet Explorer, for example, claims to be “Mozilla 1.2″ to get at Netscape enhanced documents. And of course, if a cache proxy keeps the Netscape enhanced document, someone with an other browser will also get this document if he goes through the cache.
It could be any number of things, but the most common mistakes are leaving out a tag bracket or quote missing for href, src, or alt text may be the issue. You should also verify the link itself.
Specifies the text color with a color name (like “red”) Specifies the text color with a hex code (like “#ff0000″) Specifies the text color with an rgb code (like “rgb(255,0,0)”)