-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwordreplace.html
More file actions
43 lines (38 loc) · 1.79 KB
/
wordreplace.html
File metadata and controls
43 lines (38 loc) · 1.79 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
<!DOCTYPE html>
<html>
<head>
<title> ASSIGNMENT JS 1 </title>
<script src='js/wordreplace.js'> </script>
<link rel="stylesheet" href="css/wordreplace.css">
</head>
<body>
<fieldset>
<legend><strong>TEXT REPLACE</strong> </legend>
<form name="myForm" autocomplete="off" onsubmit='return replaceWord();'>
<table >
<tr>
<th class="thr"><label for='i_text'>Enter Text: </label> </th>
<td><input type='text' id='i_text' name='text' placeholder="Enter Text"/>
</td>
</tr>
<tr>
<th class="thr"><label for='i_word'>Enter Word to replace: </label> </th>
<td><input type='text' id='i_word' name='word' placeholder="Enter Word"/>
</td>
</tr>
<tr>
<th class="thr"><label for='i_replace'> Enter word to replace with: </label> </th>
<td><input type='text' id='i_replace' name='replace' placeholder="Word to replace with here"/>
</td>
</tr>
<tr><br/><br/>
<th ><input class="one" type='reset' value='RESET' id='i_reset' name='reset'/>
</th>
<td ><input class="two" type='submit' value='REPLACE' id='i_submit' name='submit'/>
</td>
</tr>
</table>
</form>
</fieldset>
</body>
</html>