jspodisus Posted February 7, 2010 Share Posted February 7, 2010 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 More sharing options...
harkly Posted February 12, 2010 Share Posted February 12, 2010 You can use characters instead of the actual <> for instance < H1 > Link to comment https://forums.phpfreaks.com/topic/191268-html-5-show-tags-in-string/#findComment-1011365 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.