Here is my code. Why won’t work highlight? Here is the code I’m using. Sorry, for some reason it doesn’t post all of the code in the thread. Don’t know why.
Likely if you’re trying to paste your code with html tags, the browser is probably translating them instead of showing them most likely. You need to use the </> button in the reply box bar to put all your code in code quotes to show in your reply.
I believe Style tags are supposed to go in the Head tags:
<html>
<head>
<style>
Your style stuff here
</style>
</head>
<body>
Your website stuff here
</body>
</html>
In the latest code you posted, there is no element with a highlight class on it.
I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.