Created
February 13, 2020 20:09
-
-
Save humphd/d0ab1e9296ae52228d566612574b8223 to your computer and use it in GitHub Desktop.
HTML Examples from WEB222 Feb 12, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- Table Example --> | |
| <table> | |
| <tbody> | |
| <tr> | |
| <td colspan="3">1</td> | |
| </tr> | |
| <tr> | |
| <td>2</td> | |
| <td>3</td> | |
| <td rowspan="2"> | |
| <table> | |
| <tr> | |
| <td> | |
| <ul> | |
| <li>item 1</li> | |
| <li>item 2</li> | |
| </ul> | |
| </td> | |
| <td>b</td> | |
| </tr> | |
| <tr> | |
| <td>c</td> | |
| <td>d</td> | |
| </tr> | |
| </table> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td colspan="2">5</td> | |
| </tr> | |
| <tr> | |
| <td>6</td> | |
| <td>7</td> | |
| <td>8</td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| <!-- Inline JavaScript (avoid this)--> | |
| <script> | |
| var x = 7; | |
| </script> | |
| <script> | |
| // This will work, shared global scope between scripts | |
| console.log(x); | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment