+ 1

how can I change in a html page which is already exist?

23rd Nov 2016, 2:09 PM
Shady Ahmed
Shady Ahmed - avatar
7 Respuestas
+ 6
<!DOCTYPE html> <html> <body> <p id="p1">Hello World!</p> <script> document.getElementById("p1").innerHTML = "New text!"; </script> <p>The paragraph above was changed by a script.</p> </body> </html> here is how you can do it using javascript. hope this helps. or you could always make a varible in php and just change content that way to. let me know if you have any more questions. hope this helps.
23rd Nov 2016, 4:40 PM
Metrik 🕵
Metrik 🕵 - avatar
+ 5
like what are you try to change?
23rd Nov 2016, 2:57 PM
Metrik 🕵
Metrik 🕵 - avatar
+ 5
for something like that you should look into this. http://ccm.net/faq/7230-change-the-design-of-facebook-interface
23rd Nov 2016, 9:27 PM
Metrik 🕵
Metrik 🕵 - avatar
+ 4
you can use js to change its dom Ajax to update a small section of page or PHP to modify it at server in js you can use element.innerHTML='new lines here's; parentelement.append(newelementhere.). or element.removechild(insideelementtoberemoved);
23rd Nov 2016, 3:46 PM
Sandeep Chatterjee
+ 3
you meant a website page that already exist to be changed. then there is not so much you can change and change your make to js is not being changed at server you will either have to host your own page or get it to free hosting but many websites are in Facebook too so you can make more posts to make it look good changes you will make on your computer is not being saved after refreshing you will find the same things again the changes be it change of color logo animation is not visible to your visitors it is not actual actually only Facebook can change it however if that works then that's fine
24th Nov 2016, 3:08 AM
Sandeep Chatterjee
+ 1
Thanks
23rd Nov 2016, 9:29 PM
Shady Ahmed
Shady Ahmed - avatar
0
the design of my facebook page
23rd Nov 2016, 8:33 PM
Shady Ahmed
Shady Ahmed - avatar