A Smarter Way to Learn HTML & CSS Learn it faster. Remember it longer. by Unknown

A Smarter Way to Learn HTML & CSS Learn it faster. Remember it longer. by Unknown

Author:Unknown
Language: eng
Format: epub


By default, browsers don’t draw a border around anything. If you don’t want borders, there’s nothing to code. But with CSS you can add borders anywhere you like.

For example, here’s a table with top and bottom borders framing the table headers.

Here’s the CSS code.

th.top-row {

border-top: 1px solid black;

border-bottom: 1px solid black;

}

The first seven lines of HTML would be…

<table>

<tr>

<th class=“top-row” scope=“col”></th>

<th class=“top-row” scope=“col”>Gym</th>

<th class=“top-row” scope=“col”>Exercise Room</th>

<th class=“top-row” scope=“col”>Pool</th>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.