ShrishChandra Sharmashrish_ravenshaw@yahoo.co.in
 We can also create tables in the web pages. Table can be created row by row. Syntax (Table): Here, codes for column w...
S.NO. ATTRIBUTES DESCRIPTION1. BORDER=“…….” Width of the border.2. CELLSPACING=“……” Space between cells.3. CELLPADDING=“……...
 Syntax: Attributes:<TH>…..heading of table……</TH>S.NO. ATTRIBUTES DESCRIPTION1. ROWSPAN=“…..” Number of rows the cell w...
 Syntax: Attributes:<TR>……codes for table cell………</TR>S.NO. ATTRIBUTES DESCRIPTION1. ALIGN=“….” Alignment of content of ...
 Syntax: Attributes:<TD>……..text…..</TD>S.NO. ATTRIBUTES DESCRIPTION1. ROWSPAN=“…..” Number of rows the cell will span.2...
 Example: Output:<table><th>Table Heading</th><tr> <td>first</td><td>second</td></tr><tr> <td>cell 1</td><td>cell 2</td><...
 We can also create forms through HTML. Syntax: Attributes:<FORMS>………..</FORMS>S.NO. ATTRIBUTES DESCRIPTION1. ACTION=“…...
 It is used to add the features in the form. Syntax: BasicAttribute: Values for Basic Attribute:<INPUT><INPUTTYPE=“……....
S.NO. ATTRIBUTES DESCRIPTION1. NAME=“……..” Names passed to CGL script as part ofname/Value pair.2. SRC=“……” URL of image f...
 It is a multiline text entry base. Default text can be included. Syntax: Explanation: Attributes:<TEXTAREA> </TEXTARE...
 It shows the menu or scrolling list of section. Syntax: Attribute:<SELECT> option tag code </SELECT>S.NO. ATTRIBUTES D...
 It is used with <SELECT> tag. Syntax: Explanation: Attribute:<OPTION>…text..</OPTION>VALUE=“……”The value to submit of ...
 It is used to divide the web pages into parts. It will be used in <HEAD> tag. Syntax: Attributes:<FRAMSET> ….code for...
 This tag will be used within <FRAMSET> tag. Syntax: Attributes:<FRAME> </FRAME>S.NO. ATTRIBUTES DESCRIPTION1. SRC=“….....
HTML Series Vol 3 by S C Sharma
HTML Series Vol 3 by S C Sharma
HTML Series Vol 3 by S C Sharma
Upcoming SlideShare
Loading in …5
×

HTML Series Vol 3 by S C Sharma

126 views

Published on

Purpose is to Spread Knowledge only

Published in: Education, Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
126
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

HTML Series Vol 3 by S C Sharma

  1. 1. ShrishChandra Sharmashrish_ravenshaw@yahoo.co.in
  2. 2.  We can also create tables in the web pages. Table can be created row by row. Syntax (Table): Here, codes for column will not be used. It is created through codes of rows whichincludes codes for different cells.<TABLE>……codes for row and cell……..</TABLE>
  3. 3. S.NO. ATTRIBUTES DESCRIPTION1. BORDER=“…….” Width of the border.2. CELLSPACING=“……” Space between cells.3. CELLPADDING=“…….” Space between edges of cells and itscontent.4. WIDTH=“…….” Width of the table in pixels or a percentageof page within.5. ALIGN=“….” Alignment of content of cell.Values LEFT,RIGHT,CENTRE.6. VALIGN=“…..” Vertical alignment of content of cells.7. BGCOLOR=“…..” Background color of the cells.8. BACKGROUND=“image.gif” URL of image to tile in all cells in a row.9. BORDERCOLOR=“……” Color of the border.
  4. 4.  Syntax: Attributes:<TH>…..heading of table……</TH>S.NO. ATTRIBUTES DESCRIPTION1. ROWSPAN=“…..” Number of rows the cell will span.2. COLSPAN=“….” Number of columns the cell will span.3. ALIGN=“….” Alignment of content of cell.Values LEFT,RIGHT,CENTRE.4. VALIGN=“…..” Vertical alignment of content of cells.5. BGCOLOR=“…..” Background color of the cells.6. BACKGROUND=“image.gif”URL of image to tile in all cells in a row.7. BORDERCOLOR=“……” Color of the border.
  5. 5.  Syntax: Attributes:<TR>……codes for table cell………</TR>S.NO. ATTRIBUTES DESCRIPTION1. ALIGN=“….” Alignment of content of cell.Values LEFT,RIGHT,CENTRE.2. VALIGN=“…..” Vertical alignment of content of cells.3. BGCOLOR=“…..” Background color of the cells.4. BACKGROUND=“image.gif”URL of image to tile in all cells in a row.5. BORDERCOLOR=“……” Color of the border.
  6. 6.  Syntax: Attributes:<TD>……..text…..</TD>S.NO. ATTRIBUTES DESCRIPTION1. ROWSPAN=“…..” Number of rows the cell will span.2. COLSPAN=“….” Number of columns the cell will span.3. ALIGN=“….” Alignment of content of cell.Values LEFT,RIGHT,CENTRE.4. VALIGN=“…..” Vertical alignment of content of cells.5. BGCOLOR=“…..” Background color of the cells.6. BACKGROUND=“image.gif”URL of image to tile in all cells in a row.7. BORDERCOLOR=“……” Color of the border.
  7. 7.  Example: Output:<table><th>Table Heading</th><tr> <td>first</td><td>second</td></tr><tr> <td>cell 1</td><td>cell 2</td></tr><tr> <td>cell 3</td><td>cell 4</td></tr></table>Table Headingfirst secondcell 1 cell 2cell 3 cell 4
  8. 8.  We can also create forms through HTML. Syntax: Attributes:<FORMS>………..</FORMS>S.NO. ATTRIBUTES DESCRIPTION1. ACTION=“….” URL of script to run.2. METHOD=“…..” How to send the form input to the server.Values GET or POST3. NAME=“……” Name by which subscripts can refers to theforms.
  9. 9.  It is used to add the features in the form. Syntax: BasicAttribute: Values for Basic Attribute:<INPUT><INPUTTYPE=“……..”>1. CHECKBOX A B C2. RADIO Male Female3. RESET4. TEXT5. SUBMITRESETSUBMITText to write
  10. 10. S.NO. ATTRIBUTES DESCRIPTION1. NAME=“……..” Names passed to CGL script as part ofname/Value pair.2. SRC=“……” URL of image file.3. VALUE=“……” Value passed to CGI script as part of name/Valuepair.4. SIZE=“…..” Size of text box, in characters.5. ALIGN=“…..” For images in forms, save as with <IMG> tag.6. MAXLENGTH=“…..” Maximum number of characters that can beentered to text box.7. CHECKED=“……” Sets check box or video button.
  11. 11.  It is a multiline text entry base. Default text can be included. Syntax: Explanation: Attributes:<TEXTAREA> </TEXTAREA>S.NO. ATTRIBUTES DESCRIPTION1. NAME=“….” Names passed to CGL script as part ofname/Value pair.2. ROWS=“…….” Number of rows of text to display.3. COLS=“…….” Number of columns of text to display.4. WRAP=“…..” At right side of text area ,wrap to next line.Text area to write
  12. 12.  It shows the menu or scrolling list of section. Syntax: Attribute:<SELECT> option tag code </SELECT>S.NO. ATTRIBUTES DESCRIPTION1. NAME=“….” Names passed to CGL script as part ofname/Value pair.2. SIZE=“…..” Number of elements in a scrolling list, ifno size is given the section is a pop menu.3. MULTIPLE Allows multiple section.
  13. 13.  It is used with <SELECT> tag. Syntax: Explanation: Attribute:<OPTION>…text..</OPTION>VALUE=“……”The value to submit of this<OPTION> tag is selected.SELECTED the option will beselected by default.MUSLIMSIKHCHRISTANJAINOTHERSHINDU
  14. 14.  It is used to divide the web pages into parts. It will be used in <HEAD> tag. Syntax: Attributes:<FRAMSET> ….code for frame ….</FRAMESET>S.NO. ATTRIBUTES DESCRIPTION1. ROWS=“……..” Width of frame in number of rows orpercentage of windows width.2. COLS=“……..” Height of frame in number of columns orpercentage of windows height.3. “…,….,…*” indicates frame should take up theremaining space.
  15. 15.  This tag will be used within <FRAMSET> tag. Syntax: Attributes:<FRAME> </FRAME>S.NO. ATTRIBUTES DESCRIPTION1. SRC=“…..” URL of a document.2. NAME=“….” Name used to target attribute in <HREF> links.3. SCROLLING=“….” Values=YES, NO, AUTO4. NORESIZE Prevents user from resizing the frame.5. FRAMEBORDER=“…” Whether to display frame border.YES or NO6. FRAMESPACING=“…” Spacing between frames.

×