Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are common file extensions for web programming languages?

People also ask

What is a common file extension for a webpage?

Web Pages. Two extensions are standard for web pages: . html and . htm.

What is extension in programming languages?

2) In programming, an extension is a file containing programming that serves to extend the capabilities of or data available to a more basic program. Extensions are sometimes required to be stored in a separate extensions file so that they're easy to locate.


Keep in mind that good URL design will completely hide any underlying file types.


I have created a Github gist that contains a list of programming languages and their extensions, here is a subset of the data included in the gist file:

{
  "name":"CoffeeScript",
  "type":"programming",
  "extensions":[
     ".coffee",
     "._coffee",
     ".cake",
     ".cjsx",
     ".cson",
     ".iced"
   ]
  },{
  "name":"ColdFusion",
  "type":"programming",
  "extensions":[
     ".cfm",
     ".cfml"
  ]}

I hope it is helpful.

languages.json.


.action -- struts2

.do -- struts1

.xml -- XML

.rss -- RSS feeds

.atom -- Atom feeds(RSS)

(no extension) -- used now a days to increase readability of the URL, check stackoverflow URL