The URLs

Valid values for id attribute

URLs or Uniform Resource Locator is location of html document web. It consists of three parts i.e. Protocol, Domain and Resource path.
For e.g. http://www.example.com/index.php where http is protocol, www.example.com is domain and index.php is resource path.

It also has a query string i.e.
http://www.example.com/index.php?value=1&page=3
So the query string for the above url is: ?value=1&page=3 which is a name=value pair.

A URL is also contain fragment identifier.
For e.g.
http://www.example.com/index.php?value=1&page=3#fragmentValue
It is added after the # character. So for above example the fragment identifier is “fragmentValue”.

Type of URLs:

Static URL: A static URL is one which does not change, so it does not contain any query string. It looks like this: http://www.example.com/month/january.html

Dynamic URL: A dynamic URL can be changed depends on query string appended in url. Usually, a dynamic URL would look like this:
http://www.example.com/month.html?id=01

For any types of queries, you can contact us on info@namasteui.com.

You may like:  Expressions of AngularJS

Leave a Reply

Your email address will not be published. Required fields are marked *