mime-types of html and css code example

Example 1: stylesheet not loaded because of mime-type

put your .css file in a folder called public
in your app.js file add the following code:

app.use(express.static('public'));

Example 2: mime type

media type is a two-part identifier to file formats and format contents 
transmitted on the Internet. The Internet Assigned Numbers Authority is 
the official authority of the standardization and publication of these 
classifications. 
also almost of an old extension on the internet is MIME type.

Tags:

Html Example