-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBasicHTML_colums.html
More file actions
51 lines (42 loc) · 1.14 KB
/
BasicHTML_colums.html
File metadata and controls
51 lines (42 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<title>Basic HTML Template.</title>
<meta charset="utf-8">
<h4>Basic HTML Template</h4>
<p>Introduction to basic HTML syntax.</p>
<p>Added another paragraph.</p>
</head>
<!-- Comment -->
<body>
<h1>This is How to intantiate colums in your webpage</h1>
<table>
<colgroup>
<col span="2" style="background-color:red"> <!-- span 2 colums with background color red -->
<col style="background-color:yellow">
</colgroup>
<tr>
<th>1 Table</th>
<th>1 Header</th>
<th>1 Top Row</th>
</tr>
<tr>
<td>2 Table</td>
<td>2 Data</td>
<td>2 Row</td>
</tr>
<tr>
<td>3 Another</td>
<td>3 Table</td>
<td>3 Row</td>
</tr>
</table>
<!-- Additional columns lay-out "3 column layout"
<div> class="column"></div>
<div> class="column"></div>
<div> class="column"></div>
If you wanted one to be slightly differnet
<div class="column bigger"></div>
remember any element can have any number of class' assigned, a class can also be used on multiple elements. Classes are CSS and need a CSS file attachted -->
</body>
</html>