-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (80 loc) · 4.01 KB
/
index.html
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>HTML Table Generator</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="bodyWrapper">
<h1 class="title">HTML Table Generator</h1>
<div class="headWrapper">
<div>
<label for="rowNum">Row Number</label>
<input type="number" id="rowNum" name="rowNum" value="3" required>
<label for="colNum">Col Number</label>
<input type="number" id="colNum" name="colNum" value="2" required>
</div>
<div>
<label for="tableWidth">Table with %</label>
<input type="number" id="tableWidth" name="tableWidth" value=80>
<label for="borderPixel">Border in pixel</label>
<input type="number" id="borderPixel" name="borderPixel" value="2">
</div>
<div class="bg-div">
<p>Background color</p>
<div><label for="tableBgColor">Table background</label>
<input type="color" id="tableBgColor" name="tableBgColor" value="#6666ff"></div>
<div> <label for="headBgColor">Head background</label>
<input type="color" id="headBgColor" name="headBgColor" value="#ADD8E6"></div>
<div><label for="bodyBgColor">body background</label>
<input type="color" id="bodyBgColor" name="bodyBgColor" value="#ffffb2"></div>
</div>
<div class="border-font-color">
<div><label for="borderColor">Border color</label>
<input type="color" id="borderColor" name="borderColor" value="#4c4c4c"></div>
<div><label for="fontColor">Font color</label>
<input type="color" id="fontColor" name="fontColor" value="#262626"></div>
</div>
<div class="selectsFont">
<label for="fontType">Font type</label>
<select id="fontType">
<option value="">----Font type----</option>
<option value="Arial" selected="selected">Arial</option>
<option value="Times New Roman">Times New Roman</option>
<option value="Courier New">Courier New</option>
<option value="Verdana">Verdana</option>
<option value="Georgia">Georgia</option>
<option value="Lucida Console">Lucida Console</option>
</select>
<label for="fontSize">Font size</label>
<select id="fontSize">
<option value="">----Font size----</option>
<option value="medium" selected="selected">medium</option>
<option value="xx-small">xx-small</option>
<option value="x-small">x-small</option>
<option value="small">small</option>
<option value="large">large</option>
<option value="x-large">x-large</option>
<option value="xx-large">xx-large</option>
</select>
<label for="AlignForText">textAlign</label>
<select id="AlignForText">
<option value="">----Text align----</option>
<option value="center" selected="selected">center</option>
<option value="left">left</option>
<option value="right">right</option>
<option value="justify">justify</option>
</select>
<!--<button class="generateBtn" onclick="createTable()">Generate Tool</button>-->
</div>
</div>
<div class="btn-wrapper"><button class="generateBtn">Generate Tool</button></div>
<div class="table-wrapper">
</div>
</div>
<script src="index.js"></script>
</body>
</html>