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

html

I'm new to html and I was wondering when I make a new html document if it needs to be .html or .index. and how do I publish my site?

10th Jun 2019, 3:08 AM
Tyler Eavey
Tyler Eavey - avatar
2 Answers
+ 5
.html is an extension for html file. Websites typically name their top/main page as index.html For publishing your site online you will need a domain & a webhost to host your site. Check the search results-> https://is.gd/1HnkIA (ddg search result page) There are also other ways like using github pages. Choose the one you feel more comfortable about.
10th Jun 2019, 6:05 PM
Lord Krishna
Lord Krishna - avatar
0
.index is the mainpage. and in the main page, you put .html (Ex: about.html). And how to publish your website? I really don't know, but you can probably find some videos on YT.
10th Jun 2019, 3:52 AM
Ginfio
Ginfio - avatar