Review (Examples) Flashcards
1
Q
Heading Cells (Example)
A
< table class = “schedule” >
< tr > < th > Time < /th > < th > Mon < /th > < th > Tue < /th > < th > Wed < /th > < th > Thu < /th > < th > Fri < /th > < th > Sat < /th > < th > Sun < /th > < /tr >
< tr > < th > 6:00 PM < /th > < tr > < th > 6:30 PM < /th > < /tr>
< /table>
(T6 - Slide 11)
2
Q
Data Cells (Example)
A
< tr > < th > 6:00 PM < /th > < td > National New < /td > < td > National New < /td > < td > National New < /td > < td > National New < /td > < td > National New < /td > < td > National New < /td > < td > National New < /td > < /tr >
< tr > < th > 6:30 PM < /th > < td > World News < /td > < td > World News < /td > < td > World News < /td > < td > World News < /td > < td > World News < /td > < td > World News < /td > < td > World News < /td > < /tr>
< /table>
3
Q
setting a header to be at the center
A
< center >< h1 > hello world < /h1 >< /center >
4
Q
aligning content to the right
A
< div align = “right” > < /div >
5
Q
make colspam span across all
A
column-span: all;
6
Q
creating an input box with a placeholder text
A
< input name = “hello” id = “there” type = “text” placeholder = “this is a placeholder text” />