|
write the js screipt:
1) read the text file into a stream of text ( i mean line by line)
spcify to which line you want the text to be
2) uuse 2 variables and assgn the text to the h1 and p
then use document.write() method to write it into the html poage
ATTACH the js to the html page
(rem to put the read fuction to the winod.onlad thng)
|