<div
id="Contact" class="tabcontent"> <h3>Contact</h3> <p>Get
in touch, or swing by for a cup of coffee.</p></div>

<div id="About" class="tabcontent">
<h3>About</h3> <p>Who we are and what we do.</p></div>

Create buttons to open specific
tab content. All <div> elements with class="tabcontent" are hidden by default
(with CSS & JS). When the user clicks on a button - it will open the tab content
that "matches" this button.

Web Certificates

W3Schools is optimized for learning, testing, and training. Examples might be simplified to improve reading and basic understanding.
Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content.
While using this site, you agree to have read and accepted our terms of use,
cookie and privacy policy.
Copyright 1999-2018 by Refsnes Data. All Rights Reserved.Powered by W3.CSS.