literature

Show HTML on DA as Text

Deviation Actions

neocoolstar's avatar
By
Published:
6.8K Views

Literature Text

WARNING: do not copy and paste if you have other html codes not listed here you want to share with others. You have to manually type out the code yourself. dA changed some things in the backend of their site after I wrote this deviation.

(12/5/2014) Edit: I removed the old convoluted code I had before someone introduced me to a cleaner method. Given how old this deviation is, I've deleted the complex version in favor for the easier one for future users to use.


I know there are some deviants that have been having a tough time explaining how to do HTML in comments, journals, or deviations. This short tutorial will teach you how to show HTML format without activating it.

Q: Hey Neo, how do you do bold font?
A: <b>bold</b>

Q: How about underline the font?
A: <u>underline</u>

Q: Wait, can you show me how you show the entire code? I tried to show my online friend how to, but it would just bold/italicized/underlined my text. All they see is bold or underlined or italicized
A: Sure! Read the following.




What you want to use is...

<code></code>

This HTML tag is wrapped around a '<' or '>' character.

With this, you can prevent the HTML from working.

For example:

<b>bold</b>

The actual code to produce the above:

<<code>b>bold</b></code>




Good luck and if you have any further questions please don't hesitate to ask!
I did a bit of experimenting after a friend of mine ~craftysorceress decided to make a tutorial on how to show words with your link. The text was crazy and none of the HTML showed up when using < or > for the two signs "<" and ">"

Now I'm creating a tutorial how to show these HTML sign suckers on DA without activating it.
© 2010 - 2024 neocoolstar
Comments117
Join the community to add your comment. Already a deviant? Log In
dierat's avatar
Does this method still work? I'm trying to share an HTML template and the < code>< /code> tags aren't stopping the code from being consumed.