Welcome to Home.

Wednesday, July 8, 2015

(X)HTML Elements and attributes

!doctype  - Required for indicating version of X(HTML) used.
a – for creating links and anchor
href- for specifying URL of page of name of anchor that links goes to.
Width,height- For specifying width and height
Body- for enclosing main section of page
Bgcolor- for specifying background color.
Font- for changing the size, face and color of text.
Color- for changing text color.
Face- for changing text font.
Size- for changing text size.
Form- for creating fill in forms.
Br- for creating a line break
Text- for specifying color of text.
div- for dividing a page into logical sections.
Align- for aligning a given section to left,right or center.
Class- for giving a name to each class of division
Id- for giving a unique name to particular division.
Src- for specifying URL of multimedia file.
            Frame – for creating a frame.
            H1,h2,h3,h4,h5,h6 – for creating headings.
            Html- for identifying a text document as an HTML document.
            Img- for inserting an image
            Link- for linking to an external stylesheet.
            Marquee- For creating moving text.
            Behavior- for controlling how the text should move(scroll,slide or alternate).

            Direction- for controlling if the text move from left to right or right to left.

No comments:

Post a Comment