HTML automatically year Without JS code example
Example: javascript code for year in html
<script type="text/javascript">
document.write(new Date().getFullYear());
</script>
<script type="text/javascript">
document.write(new Date().getFullYear());
</script>