How to access an HTML document in a browser ?
HTML represents Hypertext Markup Language and is web – based scripting language. Its primary object is to make and design website pages. Records with the HTML (or HTM) augmentation just hold back text and references to different documents, similar to pictures or video.
How to access an HTML file in the browser:
- There are a wide range of projects that you can use to make and edit a HTML file. Nonetheless, you can utilize any basic content tool to open and peruse it as text. Whenever you need to see what the website page resembles, you want to run this HTML record utilizing an internet browser.
- Google Chrome perceives HTML, and you can utilize it to open any document with an “.html” expansion.
- Find the HTML record you need to see, right-click on it, and pick Open with from the menu. You will see a full rundown of applications that you can use to run your document. Your default program will be at the first spot on the list.
Select Google Chrome from the rundown, and view your record in the program.
- Assuming Google Chrome is set as your default program, you should simply double tap the HTML document and it will naturally open in Chrome. Assuming you attempted this, and found that your PC doesn’t perceive your record, the framework will request that you utilize one of the all around introduced applications to open the document or search the web for the augmentation. Pick Open utilizing currently introduced applications. Then, at that point, have a go at picking Google Chrome from the rundown once more.
- To ensure you opened the right HTML record, check the location bar in Chrome when it raises the page. It ought to match the area of your record on your PC.
file:///C:/Users/VOSTRO/Desktop/GeekforGeeks/fav1.html
Example: