Are there templating systems that permit defining default values for attributes of HTML elements? Any page that contains the given HTML element and that is generated using the given template will have HTML generated with the value of the referred attribute of the referred element set to the defined default value.
<form method="post">
Say I wish to set the default value of the 'method' attribute of the 'form' element to 'post'. This should only be done if the page does not explicitly define the 'method' attribute.