Jump to content

[HTML 5] Show tags in string?


jspodisus

Recommended Posts

I am having a slight problem. I want to include the tag in my string of letters,to be printed out to the user, but it keeps putting the tags into format. Example:

 

the <h1> tag will create a "header" size "1" tag.

 

Which validates the rest of the code as style: <h1>

 

So how can I show my readers what tag i'm using, without initializing that tag?

Link to comment
https://forums.phpfreaks.com/topic/191268-html-5-show-tags-in-string/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.