File tree 1 file changed +33
-0
lines changed
1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!doctype html>
2
+ < html class ="no-js " lang ="">
3
+ < head >
4
+ < title > Test - A Sample Website</ title >
5
+ < meta charset ="utf-8 ">
6
+ < link rel ="stylesheet " href ="css/normalize.css ">
7
+ < link rel ="stylesheet " href ="css/main.css ">
8
+ </ head >
9
+ < body >
10
+ < h1 id ='site_title '> Test Website</ h1 >
11
+ < hr > </ hr >
12
+ < div class ="article ">
13
+ < h2 > < a href ="article_1.html "> Article 1 Headline</ a > </ h2 >
14
+ < p > This is a summary of article 1</ p >
15
+ </ div >
16
+ < hr > </ hr >
17
+ < div class ="article ">
18
+ < h2 > < a href ="article_2.html "> Article 2 Headline</ a > </ h2 >
19
+ < p > This is a summary of article 2</ p >
20
+ </ div >
21
+ < hr > </ hr >
22
+ < div id ='footer '>
23
+ < p > Footer Information</ p >
24
+ </ div >
25
+ < script >
26
+ var para = document . createElement ( "p" ) ;
27
+ var node = document . createTextNode ( "This is text generated by JavaScript." ) ;
28
+ para . appendChild ( node ) ;
29
+ var element = document . getElementById ( "footer" ) ;
30
+ element . appendChild ( para ) ;
31
+ </ script >
32
+ </ body >
33
+ </ html >
You can’t perform that action at this time.
0 commit comments