Jump to content

How to write "$" before <h1 id="example"/>

Joshcanread

I have an id variable that would be a number that I want a "$" to be behind so it would look something like this -->    <h1 "$", id="Price"/>        but of course that doesn't work

 

and it would just say "$example" without a space inbetween

Link to comment
Share on other sites

Link to post
Share on other sites

As mentioned above you need to use CODE tags. You should also explain better your issue and what you are trying to do.

Link to comment
Share on other sites

Link to post
Share on other sites

Most programming languages won't accept a special character such as "$" as the first place.

You could try using "_$", maybe... what's the language/framework?

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×