background-color: lightgrey;
font-family: "Arial Black", Helvetica, sans-serif;
font-size: 16em;
color: black;
}
You can use simple syntax to link to JavaScript (it is not necessary to use the type attribute):
If possible, use the same naming conventions (like JavaScript) in HTML.
Some web servers (Apache, Unix) are case sensitive with the file name: "london.jpg" cannot be accessed as "London.jpg". But there are web servers (Microsoft, IIS) that are not case sensitive: london.jpg can be accessed by name London.jpg or london.jpg. Therefore, if you use a combination of uppercase and lowercase letters, you must be extremely consistent to avoid errors when moving the server. To avoid leading to these errors, always use lowercase letters for file names.
There is no difference between the .htm and .html extensions . Both will be treated as HTML when working with any browser and server.
Technical differences
When the URL does not specify a file name (like https://www.tipsmake.com/html/), the server will automatically return the default file name. The default default file is index.html, index.htm, default.html and default.htm.
If your website has been configured with the default file name 'index.html', you must name the file 'index.html', not set to 'index.htm.' However, the server can be configured with many default files, and usually you can set up multiple default files if needed.
Anyway, the full extension for HTML files is .html, and there's no reason that you don't use this name. That's all. Become a smart programmer by writing neat, clean and standard code like this.
Good luck!