Here is a very good example of what my code looks like for a home page template. It includes the HTML markup, some PHP to output data from a WordPress database, and some javscript for overlays that show on hover on the blogs and portfolio items.
Name aria-required='true'
Mail (will not be published) aria-required='true'
Website
Δ