Instead of creating a Web page with new content, many people build websites based on content from an existing document. Using HTML, you can easily copy text from another file and insert it into web page code. If you do not know how to write HTML code, you must be careful to insert the text in locations that do not interfere with code output.
- Skill level:
Other People Are Reading
Things you need
- HTML text editor
Open a Web browser such as Internet Explorer or Mozilla Firefox. Press CTRL-O, find the HTML file on your computer hard drive and press the "Open" button to view the web page. Find the location on the Web page where you wish to insert the text. If you want to replace existing text with new text, copy the text you want to replace by moving your mouse over the text and pressing CTRL-C. If you want to add text and not remove existing text, copy the text right above where you want to insert the new text.
Open the HTML file in an HTML or text editor, such as Windows Notepad. Press CTRL-F, paste the text you copied from the Web page and press the "Find" button to position your cursor over the copied text. If you want to replace the text, press your backspace to erase the text that already exists. After removing the last character of text, leave your cursor in position. If you want to add text, place your cursor to the end of the existing text.
Open the external file in its appropriate application. Copy the desired text by moving your mouse over the text and pressing CTRL-C.
Press CTRL-V to insert the copied text into the HTML file at the cursor's location. Save the HTML file.
View the updated Web page in the browser by pressing "Refresh" or "Reload" inside the "View" menu to view the newly inserted text.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for