How to create dynamic webpage using HTML and CSS files in notepad | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to create dynamic webpage using HTML and CSS files in notepad

Anybody could explain how to create dynamic webpage. And give a one program

23rd Apr 2020, 4:25 AM
GAJULA BALIJA MAHESH KUMAR
GAJULA BALIJA MAHESH KUMAR - avatar
6 Answers
0
what kind of program do you want
23rd Apr 2020, 6:45 AM
Ayan Poddar
Ayan Poddar - avatar
0
Dynamic webpage program using HTML and CSS files
23rd Apr 2020, 10:57 AM
GAJULA BALIJA MAHESH KUMAR
GAJULA BALIJA MAHESH KUMAR - avatar
0
i mean what the program should do
23rd Apr 2020, 2:36 PM
Ayan Poddar
Ayan Poddar - avatar
0
any way open notepad and type this : <!DOCTYPE html> <html> <head> <script src="... name of your js file then .js" type="javascript"></script> </head> <body> </body> </html> then save it as name what evere hou want then .html. .html is mendotery .. then save it. ignore warning if any ..after save that open a new note pad and write this window.onload = function (){ document.write('... what ever you want to see in the page...") }; and save it as for the nae what evere you want and as extension this time type .js then save it.. well make sure the name of the js file and which you write during in save and over here <script src="... name of your js file then .js" type="javascript"></script> are same..
23rd Apr 2020, 2:49 PM
Ayan Poddar
Ayan Poddar - avatar
0
and now run the ... .html file with any browser . if you done everything this correctly it should be write something on screen
23rd Apr 2020, 2:51 PM
Ayan Poddar
Ayan Poddar - avatar
0
and with css its not possible to make a website dynamic ..but you with css you can may prettend its dynamic
23rd Apr 2020, 2:53 PM
Ayan Poddar
Ayan Poddar - avatar