Skip to toolbar

Community & Business Groups

how to add CSS Class for HTML Element?

i have a worst hosting provider.
due to some restrictions i can`t use ID
For Example i want to change change of heading.also,note this is not correct code but POSSIBLE code which is not working.
<!DOCTYPE html>
<html>
<body>

<h1>My Heading 1</h1>
<button type=”button”
onclick=”document.getElementByName(‘h1’…
Click Me!</button>

</body>
</html>

Leave a Reply

Your email address will not be published. Required fields are marked *

Before you comment here, note that this forum is moderated and your IP address is sent to Akismet, the plugin we use to mitigate spam comments.

*