Demo Page : http://toolsqa.com/automation-practice-form/
eg:
//Tag[@attribute='value']
//select[@id='continents']
###############################
//Tag[@attribute='value' and @attribute='value']
//select[@id='continents' and @name='continents']
############################################
//Tag[text()='value']
//a[text()='Selenium Automation Hybrid Framework']