29
Table with CSS Lab 5

Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Table with CSS

Lab 5

Page 2: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Layout

Tables 01

Row02

Column03

Style04

Page 3: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Tables:

Page 4: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Create Headings in a Table :

Page 5: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Add border:

Page 6: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Spanning Rows and Columns:

Page 7: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Alignment : may be “bottom” , “top” , “center” , “left” or “ right”

Creating table and caption:

Page 8: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Marking row groups

Page 9: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Marking Column Groups:

Page 10: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Marking Column Groups:

Page 11: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Adding a Table Summary:

Page 12: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Cell Spacing & Cell Padding:

Page 13: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Set the Width and Height of the Table to

a Specific Value

Page 14: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Output:

Page 15: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Set the Width of Columns

Page 16: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Set the Height of Row

Page 17: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Set the Table Frame

<table border="value" frame="type"> ... </table>

Page 18: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Set the Table Rules <table border="value" rules="type"> ... </table>

Page 19: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Control the Horizontal and Vertical Alignment

Page 20: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Control the Horizontal and Vertical Alignment

Page 21: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Formatting Tables with CSS

Page 22: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Formatting Tables with CSS

Page 23: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

SUMMARY

Page 24: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Evaluation:

Page 25: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

1- Open new file in notepad++ then save it as (.html) extension.

After that, enter your name and section within file as comment.

2- Write the code you need to display your webpage like Figure(

1)

3- Insert Tulips.jpg into vacation cell then set the height to 70 and

width to 750.

Evaluation Instruction:

Page 26: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Hints:

• border = "3".

• cellspacing="5".

• cellpadding="7".

• border color: green

• border style: dashed

• width and height of the table is 70% .

image src: https://www.gulf-up.com/c/1508604669841.jpg

Cont..:

Page 27: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Extra at home

Solve as individual

Page 28: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Extra:

Page 29: Table with CSS1- Open new file in notepad++ then save it as (.html) extension. After that, enter your name and section within file as comment. 2- Write the code you need to display

Thank you