Creating HTML Documents
Total Page:16
File Type:pdf, Size:1020Kb
Creating HTML documents Tables
1. Open, in the text editor, the file that we created in the last class. Change the date displayed.
Type your name.
Now write a short paragraph about yourself. Include your name, academic major and what grade levels you want to be teaching.
Write a second paragraph about your outside interests.
How to contact me
Type your address.
Type your phone number.
2. Tables provide a means for making your web pages look neater when presented either text, pictures or even links. In this lesson, we will be making a table that eventually will be for links to other pages on your web site. We will put the table after the second paragraph about yourself, but before the horizontal line.
Write a second paragraph about your outside interests.
By itself, these 2 tags do not do a lot. But, they are needed to tell the browser that you are about to make a table.
3. Every table consists of rows and columns, just the table feature in Word. The intersection of each row and column is a cell. We will be making a table that has links needed for Project 2.
Our table will consist of 4 rows and 2 columns. The general set up would be:
Row cell cell Row cell cell Row cell cell ID-2950 Mrs. Jeanne Osborne Row cell cell
Each row begins with
NJ Core Curriculum Course Content Standards | Technology Standards |
How I will incorporate technology | State Educational websites |
Professional organizations | Education courses completed |
View the table on your browser. Note, while it is organized, it can use some improvement.
4. Center the table. Do you remember the tag? Put it before and after the tags for table.
5. Now, we will add a border to the table, and, if desired a color.
tag. All cells in the same column will have the same width. Be sure that the total does not exceed 100% or 600 pixels. This would be useful if you want the different columns to have different widths. Cell heights could be also changed, but not all browsers will recognize this. You could add the attribute height = # to the table tag, where the # is either the number of pixels OR a percent. 9. Adding column labels – you should do this for the web page that you are going to create for the education classes that you have taken. To do this, after the | ||||||||
for the heading for each cell. Close each cell with |
---|
Course number | Name of course | Semester taken | Grade | and | tags.. Then type your column text. End with | . Repeat for each column. If you wanted to align at the bottom, use bottom, instead of top. If you don’t use align, the text will be centered within the cells.
---|
or | tags. You can also change font colors, if desired. 12. Cells within a table can have a variety of contents – words, graphics, links to other web pages or web sites, even another table is possible. 3
Recommended publications
|
---|