Looking for help on how to replace the <b></b>
tags with <strong></strong>
tags within a specific div element:
For example:
<div id="aaa">hello<b>wow</b>!</div>
Need to achieve this using JavaScript:
<div id="aaa">hello<strong>wow</strong>!</div>
If anyone can offer assistance, it would be greatly appreciated. Thanks in advance.
***** My main goal is to change the output HTML code from <b></b>
to <strong></strong>
for W3C validation. Is there a way to accomplish this? **
Alternatively, is there a solution that involves ASP.NET and C# to achieve this conversion?