HOME | DD

Published: 2013-01-24 03:09:27 +0000 UTC; Views: 157468; Favourites: 3243; Downloads: 0
Redirect to original
Description
Throughout my tutorials and news articles on deviantART I use a variety of methods to help format my text and insert images. It’s becoming quite common that people ask me how I have achieved one or more of these effects, so I thought that I would write a quick guide as it allows me to quickly and clearly pass on the information each time.This tutorial covers basic HTML tags available on deviantART, as well as a number of site specific features. It is mainly designed for those unfamiliar with HTML or those new to the site, as none of it is particularly complicated once you find the necessary code and understand how to use it.
Basic text formatting
The majority of the text formatting on dA is done through HTML tags. A ‘tag’ has angular brackets with some text inside which corresponds with a certain function. Each command has an ‘opening tag’ (e.g <b>) which says when the formatting should start, and a closing tag (e.g. ) which states when it should finish.
In some cases there may be multiple tags which do the same formatting. You can find these instances grouped together.
<b>Bold text</b> ➜ Bold Text
<strong>Bold text</strong> ➜ Bold Text
<u>Underlined text</u> ➜ Underlined Text
<i>Italicized text</i> ➜ Italicized text
<em>Italicized text</em> ➜ Italicized text
<s>Striked text</s> ➜ Striked text
<strike>Striked text</strike> ➜ Striked text
Text sizes
The following codes can be used to make the text larger. These codes can only work in certain areas of dA. For example, they cannot be used in normal comments. They can however be used in journals and the artist comments sections of deviations.
<h1>Large (Header 1) Text</h1> ➜
Large (Header 1) Text
<h2>Large (Header 2) Text</h2> ➜
Large (Header 2) Text
<h3>Medium (Header 3) Text</h3> ➜
Medium (Header 3) Text
There are also a few options to make the text smaller. All change the text to the same size, but differ in their positioning within a line of text. Superscript will place it at the top the line of text, where as Subscript will align it with the bottom. Small will keep it in the normal position and simply shrink the text size.
<small>Small text</small> ➜ Small text
<sup>Superscript text</sup> ➜ Superscript text
<sub>Subscript text</sub> ➜ Subscript text
If you want even smaller text, you can add next multiple tags inside one of another. For example:
<sub><sub><sub>This text is even smaller</sub></sub></sub> ➜ This text is even smaller
Text positions
HTML also allows you to alter the position of text making it line up with the left, right or centre of the page. In each case the basic code is the same, and you simply swap the word show in bold to achieve the designed alignment.
<div align="Option">Text to be aligned
The for 'option's are:
- left
- center
- right
For example:
Right aligned text
Center aligned text
Left aligned text
Notes:
- This HTML only works in limited places on dA such as journals and custom boxes. It doesn't work in normal comments, the dAmn chatrooms etc.
- The option to centralise text uses the American spelling of 'Center'. For those that use the British spelling, this is a common mistakes which stops the code working.
Multiple formatting
It is possible to apply multiple formats to a single piece of text. This is achieved by nesting the tags inside each other. For example
<b><u>Bold and Underlined text</u></b> ➜ Bold and Underlined text
The two sets of formatting don't have to start at the same time. For example, you can have all the text in bold, and only the end text underlined.
<b>Bold and <u>Underlined text</u></b> ➜ Bold and Underlined text
When using multiple tags you have to look out for the order you place the closing tags in. Closing an outer tag, will also end any open tags which are nested inside of it. This may close the tag prematurely. For example, you can't have all of the text below underlined. By closing the bold tag, the underlined tage is also stopped.
<b><u>Sample</b> text</u> ➜ Sample text
To prevent this issue, you may need to re-order the tags. For example:
<u><b>Sample</b> text</u> ➜ Sample text
Further HTML
deviantART supports a number of other HTML tags which can be used to help format text within deviations, comments and journals. However, as these are generally less used I have left them out of this tutorial.
If you wish to find out more then you can find an official FAQ on the subject: help.deviantart.com/104/
Inserting links
Using a mixture of HTML and deviantART codes it is possible to link to web pages and dA profiles using the following methods. In all cases, the bold text should be replaced with the appropriate link or text you wish to insert.
:devsynfull: ➜ Synfull
:iconsynfull: ➜
<a href="http://www.facebook.com">Text link should be attached to ➜ Text link should be attached to
This method can be used to link to a dA profiles, but should only really be used if you want custom text to appear instead of the deviant’s username. If just the username is required then you should use the :devusername: version shown above.
<a href="http://synfull.deviantart.com">My profile ➜ My profile
Inserting images
There a a number of methods which can be used to insert images into comments, journals and other sections of dA. For information on using thumbcodes, the emote legend etc, please see this tutorial:
However, one of the most useful html codes allows you to display any image. This could be one that is on dA, or hosted elsewhere (e.g. photobucket). Note: This cannot be used to insert pictures into artist comments, but will work in journals and on your profile page.
<img src="DirectLinkToImage" />
The ’DirectLinkToImage’ part should be replaced with the URL (web page address) of the image. However, you need to use the direct link to the image.
The direct links will lead to a web page where the image is shown on a plain background. These links can be acquired by right clicking on the image and selecting 'copy image URL/Location/Address'. (Dependant on web browser). For example:
<img src="http://i971.photobucket.com/albums/ae198/syns-stuff/Avatars/63.png" />
This code can’t actually be used within the artist comments or regular comments. However, you can see examples in this journal .
Displaying code
From time to time it is useful to display the actual code that you are typing and prevent deviantART from formatting. For example, each time I have explained how a code works above I have given a sample piece of code which normally would produce specified effects. This is much better than adding in spaces at it allows people to see exactly how something should look.
To stop a piece of code from formatting, simply place a complete set of HTML tags (e.g. ) somewhere inside the formatting. From a coding point of view, it breaks the code/tags up so dA does not register that one has actually been used. For example:
<<u></u>b>Sample Text<<u></u>/b> ➜ <b>Sample Text</b>
:<b></b>devsynfull: ➜ :devsynfull:
:<b></b>iconsynfull: ➜ :iconsynfull:
Alternatively, in the cases where a colon is used (i.e. :dev: and :icon: links) you can replace one of the colons with the ASCII code for a colon : When posted in a comment or journal it will appear as a colon, but won't cause the dev or icon links to be created.
:devsynfull: ➜ :devsynfull:
Other Tutorials
Related content
Comments: 1258
LadyWhinesAlot In reply to ??? [2016-03-19 01:33:48 +0000 UTC]
Do you happen to know how like when you place an image in the content box dA like put a limit on its size, do you happen to know the code to make it bigger? I used to know it but i cant seem to remember it i know it had the code If not thats okay but thanks! c:
👍: 0 ⏩: 1
Synfull In reply to LadyWhinesAlot [2016-03-19 09:17:45 +0000 UTC]
I couldn't remember it off the top of my head, but a quick search came up with this tutorial:
👍: 0 ⏩: 2
namDs666 In reply to Synfull [2016-04-28 17:09:14 +0000 UTC]
hello, could you please tell me how to comment a deviation like your comment above? I'm really mad now cuz i've search for it for so long but i still can't understand, they stuck and fail whenever i try. Thanks
👍: 0 ⏩: 1
Synfull In reply to namDs666 [2016-04-28 20:16:36 +0000 UTC]
I used the thumbcode for it, but I think it only works if you pay for a core membership
👍: 0 ⏩: 1
namDs666 In reply to Synfull [2016-04-28 20:18:48 +0000 UTC]
Yes, i tried thumb code as well. And i've read in the DA's F&Q, just like what you said :3
And thanks again, really helpful tips you have there.
👍: 0 ⏩: 0
LadyWhinesAlot In reply to Synfull [2016-03-19 12:40:48 +0000 UTC]
Ah i couldn't get it to work but thanks c:
👍: 0 ⏩: 2
namenotrequired In reply to LadyWhinesAlot [2016-03-23 13:29:25 +0000 UTC]
Oops, without the wytiwyg="1" part.
👍: 0 ⏩: 0
namenotrequired In reply to LadyWhinesAlot [2016-03-20 00:05:01 +0000 UTC]
Unfortunately the trick I used in the box Synfull linked you to doesn't work anymore! But there's still a trick for images specifically. Try this:
👍: 0 ⏩: 1
namenotrequired In reply to Synfull [2016-03-23 13:30:32 +0000 UTC]
thanks for linking her to my deviation!
👍: 0 ⏩: 0
Talmorne In reply to ??? [2016-03-17 08:17:28 +0000 UTC]
Thank you so much
this was super helpful <3
just what i was looking for ^^
👍: 0 ⏩: 1
Synfull In reply to davidsedano875 [2016-03-16 21:45:07 +0000 UTC]
What do you need help with?
👍: 0 ⏩: 1
davidsedano875 In reply to Synfull [2016-03-21 17:44:38 +0000 UTC]
I answered you're question on the top of this reply. [[Synfull]]
👍: 0 ⏩: 1
Synfull In reply to davidsedano875 [2016-03-21 19:19:02 +0000 UTC]
"Help?..." .... not sure that answers the question
👍: 0 ⏩: 1
davidsedano875 In reply to Synfull [2016-03-22 18:19:08 +0000 UTC]
No I replied to you're question. After I typed "Help" re-read the question or answer.
👍: 0 ⏩: 1
Synfull In reply to davidsedano875 [2016-03-22 21:31:38 +0000 UTC]
It would just be easier for you to ask the question again instead of having to hunt it out. You can see the whole comment thread here and there is no question at the top of the reply.
Your next comment was "on the formatting" which I'm not sure what that means.
You then left a blank comment and two with failed :devsynfull: codes. If that is the question is why these didn't work, the answer is not to copy and paste but to type it yourself. Copying my example with include some extra formatting which I'm using to deliberately break it so it shows up.
👍: 0 ⏩: 1
davidsedano875 In reply to Synfull [2016-04-04 20:57:06 +0000 UTC]
I like hunting It down it's not hard. You just need to be a fast reader.
👍: 0 ⏩: 1
Synfull In reply to davidsedano875 [2016-04-06 18:06:59 +0000 UTC]
If you want help, clearly ask a question. If not, I have no reason to help you. I'm not going digging through comments to find one from someone who only mocks me in return.
👍: 0 ⏩: 1
Ruerie In reply to ??? [2016-03-10 09:09:46 +0000 UTC]
<a href="http://www.facebook.com">Text link should be attached to</a>
Text
Testing...
👍: 0 ⏩: 0
DemonSureiyaX In reply to ??? [2016-03-06 20:41:12 +0000 UTC]
<small>Test</small>
Did it work?...
👍: 0 ⏩: 1
Synfull In reply to DemonSureiyaX [2016-03-06 22:56:29 +0000 UTC]
If you copied it from my example it won't work. If you type it out yourself it will
👍: 0 ⏩: 0
precumming In reply to ??? [2016-03-05 22:06:15 +0000 UTC]
im going to kill myself the < sub> / < small> wont work in stash
👍: 0 ⏩: 0
ruskigurl16 In reply to ??? [2016-03-04 14:12:15 +0000 UTC]
Thank you for the tutorial. I am very new, so I am going to try it.
Are you able to format the size of the text in the status update section of your page (if you don't have a core membership) and would it be the same code?
THIS IS A TEST.
👍: 0 ⏩: 1
Synfull In reply to ruskigurl16 [2016-03-06 22:57:09 +0000 UTC]
Can't say I've ever posted anything through the update section, so I don't know. You could always try it and see
👍: 0 ⏩: 0
Kairi-Kohai In reply to ??? [2016-02-21 23:53:01 +0000 UTC]
how do you make a picture that, when clicked, links to something?
👍: 0 ⏩: 1
melodicsheep In reply to ??? [2016-02-19 04:04:40 +0000 UTC]
how do i make the text and picture go right next to each other??
the picture is either underneath or above
👍: 0 ⏩: 1
Synfull In reply to melodicsheep [2016-02-19 21:25:57 +0000 UTC]
I'm not sure it's possible, and if it is, I don't know how to do it
👍: 0 ⏩: 0
Day-light-Kennels In reply to ??? [2016-02-10 00:55:14 +0000 UTC]
hmmm...the center align and text size won't work for me.
👍: 0 ⏩: 1
Synfull In reply to Day-light-Kennels [2016-02-10 18:00:18 +0000 UTC]
Where are you trying to use the text size (and what size)?
👍: 0 ⏩: 1
Day-light-Kennels In reply to Synfull [2016-02-11 03:11:38 +0000 UTC]
NVM, figured it out *is some what stupid* xD
👍: 0 ⏩: 0
antcow In reply to ??? [2016-02-08 02:17:55 +0000 UTC]
Hi, I'm trying to add pictures to my text boxes, ive been trying to use the copy paste method but its not working.
What I mean to do is place a picture say within this very text box, Ctrl-V does work either.
Can you help me please?
👍: 0 ⏩: 1
Synfull In reply to antcow [2016-02-08 18:08:02 +0000 UTC]
You can't add images to this text box unless you pay for a core membership
👍: 0 ⏩: 1
BRAGlNSKI In reply to ??? [2016-02-05 16:26:18 +0000 UTC]
hey there! i was gonna ask how do you put the images on center?
like lets say that i want to put to the left, right or center. can i get the code for that?
👍: 0 ⏩: 1
Synfull In reply to BRAGlNSKI [2016-02-05 18:45:12 +0000 UTC]
Replace "position" with the right, left or center
👍: 0 ⏩: 0
yeppeud-a In reply to ??? [2016-02-04 02:38:09 +0000 UTC]
hello! Do you know how to put text right next to an image? I've seen some do it, but haven't been able to figure it out;;
for example the image is on the right and the text on the left? This is without core by the way?
👍: 0 ⏩: 1
Synfull In reply to yeppeud-a [2016-02-04 18:18:11 +0000 UTC]
If you have a link to an example I may be able to see. But off the top of my head i wouldn't know how to do it.
👍: 0 ⏩: 0
<= Prev | | Next =>