The basics of SEO are:
Crawlability: proper HTML mark-up and syntax starting with the document head right down to the <div> structure. If search engine robots can't parse your code then it doesn't matter how relevant it is to the search query.
Authority: content that is popular tends to rank well, this is due to a high signal to noise ratio based on the qualitative metrics that Google's algorithm is taking into account - metrics like organic click-through rate from the SERP, adjusted bounce rate on the page, average time on site, etc.
Links: authority is built over time and through trust. One of Google's leading trust indicators is links back to your site or page from other trusted (authoritative) sources.
At the end of the day Google (and search engines in general) are looking to provide the best experience for their users, delivering the most relevant and useful results as fast as possible.
If your webpage is delivering value, solving a problem, or answering a question then you are off to a good start.