How do I find an element by XPath?

How do I find an element by XPath?

Here is the XPath expression for finding the element. //tagname[@attribute=‘value’]