This SharePoint 2010 tutorial explains, what are master pages in SharePoint 2010? What are different types of master pages in SharePoint 2010?
What are master pages in SharePoint 2010?
SharePoint 2010 supports master pages to support a consistent look and feel. SharePoint provides a special document library namely Master Page Gallery for storing master pages.
Different types of master pages in SharePoint 2010
SharePoint Foundation or SharePoint 2010 has 3 out of box master pages available namely:
But still there are some other master pages in SharePoint 2010 are present like:
You can check all the SharePoint 2010 master page files in this directory also: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS
Among all the master pages v4.master is the most popular master page. It has elements like Site Actions menu, the breadcrumb trail, the Ribbon, the Welcome menu, the Site Icon, the TopNav bar, the Quick Launch etc. v4.master is the default master page in SharePoint 2010.
If you open the master page, then you will able to see it contains some standard HTML element like HTML, head, body, and form, and includes many server-side controls. But one more major concept it, its contents 34 ContentPlaceHolder like PlaceHolderPageTitle, PlaceHolderAdditionalPageHead, PlaceHolderMain etc.
Default.master is a master page designed to support a feature known as a visual upgrade, which assists companies that are upgrading SharePoint 2007 sites to run within SharePoint 2010 farms.
This is beneficial whenever a company is migrating from MOSS 2007 to SharePoint 2010. He does not want his users to immediately switch to the new SharePoint user interface, in fact, users can continue to work with the older SharePoint 2007 user interface during a transition period. After some time then a site collection administrator can change from default.master to v4.master.
All these master pages are in ghost, but you can open a site using SharePoint Designer 2010 and modify it. But after that, it becomes unghosted and stored in the content database. But we have to remember one thing that these pages can not contain inline code.
You may like following SharePoint master page tutorials:
- SharePoint 2010 create new custom master page using SharePoint designer 2010
- Change master page programmatically SharePoint 2010
- Fix width of master page in SharePoint 2010
- Call jQuery to SharePoint page using master page
- Create a custom master page using Design Manager in SharePoint Online/2013/2016
- Convert an HTML page into SharePoint master page using Design manager in SharePoint serve 2013
- SharePoint Online Step by Step Tutorial on how to create a new custom master page by using an existing master page
- How to change Master Page in SharePoint 2016, SharePoint 2013 or SharePoint Online?
Besides using all these out of box master pages, you can also create your custom master page using SharePoint 2010 designer or using Visual Studio 2010.
SharePoint Online FREE Training
JOIN a FREE SharePoint Video Course (3 Part Video Series)