How to get skin url, js url, media url , store url and base url in magento

These are the following methods to get Magento Base Url, Magento Skin Url, Magento Media Url, Magento Js get all write the following code

<?php Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);?>
Or you can write $this->getUrl();
// e.g:-

// Get Magento Media Url
<?php Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA);?>
// e.g:-

// Get Magento Skin Url

<?php Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_SKIN);?>
 Or you can write $this->getSkinUrl();

// Get Magento Store Url
<?php Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_WEB);?>
// e.g:-

// Get Magento Js Url
<?php Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_JS);?>
// e.g:-