For example, if the original file was letter.txt, save the edited version as letter.html. If you are a Kermit user, you can find a script to convert plain text to HTML HERE . If the text contains lists, tables, or other structures, read on.

Usually we keep all the images in a separate directory. So let's keep HTML file test.htm in our home directory and create a subdirectory images inside the home directory where we will keep our image test.png. Example. Assuming our image location is "image/test.png", try the following example − External JavaScript file. We can create external JavaScript file and embed it in many html page. It provides code re usability because single JavaScript file can be used in several html pages. An external JavaScript file must be saved by .js extension. It is recommended to embed all JavaScript files into a single file. Rules defined in internal style sheet overrides the rules defined in an external CSS file. Example. Let's re-write above example once again, but here we will write style sheet rules in the same HTML document using