Skip to main content

HTML Tag Attributes | Tutorial Part4



An attribute is employed to outline the characteristics of Associate in Nursing hypertext markup language component and is placed within the element's gap tag. All attributes ar created from 2 parts: a reputation and a value:


  1. The name is that the property you would like to line. for instance, the paragraph <p> component within the example carries Associate in Nursing attribute whose name is align, that you'll be able to use to point the alignment of paragraph on the page.
  2. The value is what you would like the worth of the property to be set and continually place at intervals quotations. The below example shows 3 doable values of align attribute: left, center and right.


 DOWNLOAD   Output File




Comments

Popular posts from this blog

11 Creativity Text Styles and Hover Effects CSS3 | Tutorial SVG masking ...

Product color changing using HTML, CSS3 & jQuery

http://www.lisenme.com/

HOW TO CREATE BORDER USING HTML AND CSS

A border in your hypertext mark-up language pages will facilitate bring attention to an area of text or surround the other hypertext mark-up language component. As is seen below a border is created around any text victimization hypertext mark-up language and CSS on your website. within the example below we've enclosed a paragraph (<p></p>) with a red border. In the on top of code, the fashion is process the border size (px short for pixel), style type, and border color. the fashion of the border is however the border seems on screen. alternative kinds of border designs embrace dotted, dashed, double, groove, ridge, inset, and outset. The border color defines the colour you would like to use for the border. within the on top of example, the colour code #FF0000 was used, that is that the code for red. All of the on top of examples use "inline" designs to make the borders. you'll conjointly use "embedded" vogue sheets or "external...