How to change html code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to change html code

I have 32 pages with code <a class="theme" href="theme1.html" target="_blank">theme1</a> And 31 pages have own href addres. I must to change this code to: <a class="theme" href="Main.html" target="_blank">theme1</a> Can you tell me the fastest way to do it.

23rd Jun 2018, 11:09 AM
Fury
6 Answers
+ 2
Just wrote a program for your conversion. https://code.sololearn.com/WlX3H4H6emyD/#html Paste your html onto upper textarea, press convert to get the converted html on lower textarea. Copy the converted html to your new document then.
23rd Jun 2018, 1:40 PM
Calviղ
Calviղ - avatar
+ 1
copy code to a Microsoft Word document and use the find replace feature.
23rd Jun 2018, 11:33 AM
Michelangelo
Michelangelo - avatar
+ 1
Notepad++ Find in files -> Insert the path of directory containing your htmls, find ="theme1.html" and replace with ="Main.html"
23rd Jun 2018, 12:08 PM
KrOW
KrOW - avatar
+ 1
I see, sorry I suppose I misunderstood what you were asking.
23rd Jun 2018, 12:14 PM
Michelangelo
Michelangelo - avatar
0
no it isn't work beacouse in every page have own href address
23rd Jun 2018, 12:03 PM
Fury
0
Thanks for everybody
24th Jun 2018, 5:08 AM
Fury