I'm new to HTML development and was wondering if there was a way to structure your code like implementing Java methods.
For example:
<ul id = "my-nav">
<li><a href=clips.html>Clips</a></li>
<li><a href="moments.html">Moments</a></li>
<li><a href="media.html">Media</a></li>
<li><a href=contact_br.html>Contact Me</a></li>
</ul>
I will be using that as a navigation bar for all my HTML files I add.
Instead of typing and changing the navigation bar manually every time I need to make a change. Is there a way I can keep the navbar in a separate html or portion where all the others import the information from that source?