Posts Tagged ‘id attribute’
Unlike the class attribute, which allows you to add style to any number of tags, which is known as a style class. You can also use the id selectors to add style to individual tags by including the id attribute. This type of method is known as individual styles because we can only assign one unique name to an individual tag once per web page. You can have many id selectors per web page, but each will have to have a unique name.
Read More ››The <meta> tag also known as meta data provides additional information about your web page, for example, keywords, author information, language type, description and much more. The <meta> tag is also used to embed information about your web page that most search engines use to index and categorize your web page. The information within the <meta> tags may be used by servers and browsers as well.
Read More ››How To Create Client-Side Image Maps Using The <img>, <map> & <area> Tags
There are two types of image maps that are called client-side and server-side image maps. I will explain about client-side image maps in this tutorial and in a future tutorial, I will explain about server-side image maps.
Read More ››In this tutorial, we are going to create a simple navigational frame. We will need the <frameset> tag along with the cols attribute. We will also need two <frame> tags with the src attribute. In addition, our last <frame> tag will also need the name attribute.
Read More ››Now in this tutorial I will talk about the <label> tag, which defines relationships between the form controls and one or more text labels. Each <label> tag can only be associated with only one form control. Form controls are special tags for forms that can range from checkboxes, radio buttons, menus and so on. The <label> tag also requires an end tag.
Read More ››What if you want to link within the same document or to a specific section of another document, well this will require two steps. The first step is that you will have to create the anchor also known as a link or target and in the second step you will have to create a link to the anchor.
Read More ››The <span> tag identifies inline content like text and other inline tags that you can add CSS or JavaScript too. Inline basically means within another, for example, like a word within a paragraph.
Read More ››The <div> tag is used to define different sections of your web page, which is useful as an organizational tag. The <div> tag is a block level tag which basically means that browsers will usually place a line break before and after the <div> tag. The <div> tag contain any inline level or block level tag you like. The <div> tag also requires an end tag.
Read More ››