Magento2 : adding menu in admin section of custom module

As we already know of Structure of a custom module in Magento2, lets begin with creating Menu for our custom module in Admin section, in magento2 the management of a menu section is totally controlled by menu.xml file which exists inside etc/adminhtml directory –

Let for example you have a following directory path of a custom module  –

 magento2/app/code/A2bizz/Blog/

Where A2bizz is the name of namespace and Blog is the name of our custom module, now inside this structure we will have a etc folder which is again have two directories, adminhtml and frontend.

magento2/app/code/A2bizz/Blog/etc/adminhtml/menu.xml

a sample of menu.xml is given below –

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
    <menu>
	<add id="A2bizz_Blog::blog" title="Designer" module="A2bizz_Blog" sortOrder="0" resource="A2bizz_Blog::blog"/>
        <add id="A2bizz_Blog::blog_page" title="Pages" module="A2bizz_Blog" sortOrder="0" parent="A2bizz_Blog::blog" action="blog/page" resource="A2bizz_Blog::page"/>
    </menu>
</config>