make text bold js
<button onclick="myFunction()">Try it</button>
<p >Make text bold <span id="demo">Text Bold</p>
<script>
function myFunction() {
document.getElementById("demo").style.fontWeight = "900";
}
</script>
Also in HTML:
- tab completion vscode
- html to pug
- how to create a do to
- how to include a dash in html
- flask sqlalchemy put data in html table
- bootstrap 4 accordion
- ionic textarea
- xml vs html
- pass dynamic javascript value to html
- changing the bootstrap navbar break point
- html input textarea
- lxml html
- cuales son los elementos bloque y los elementos linea
- html basic page
- what is a div element in html
- html date picker
- radio button onclick submit form
- is html dead
- how to align table in html
- how to add space in html
- bootstrap a link disabled
- html underline
- html var
- jquery replace innerhtml