+ 2
Hi ! When you open the file index.html it must lead you to chrome right? What to do when its only leading you to notepad?
5 Answers
+ 7
Heya
No matter what's the name of file, if is extension ".html" then it should be automatically opened by your os as a webpage so by browser, usually by chrome as you mentioned
If it does not, then click right on the file and click "open as" find your browser.. firefox, chrome, opera.. and set as default opener =)
+ 6
sisneedstolearn
Yes, don't forget to include
<!DOCTYPE html>
At the start of your page index document
+ 2
Thank you !!!
+ 2
ps .I shouldn't be seeing the <html> etc. Tags right?
+ 1
Yaa if ur seeing tags on your browser while browsing ur webpage then it's has some mistakes...the basic structure to your web page is:-
<!DOCTYPE HTMLl>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>My first</title>
</head>
<body>
<div>
<span>hello</span>
</div>
</body>
</html>
Remember each tag has its similar closing tag...if you don't place it at appropriately then u will see these tags on output or ur browser's screenđđ
I hope to be usefull