HOME | DD

Published: 2013-01-24 03:09:27 +0000 UTC; Views: 157306; Favourites: 3245; 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
Sleepytime-Junction In reply to ??? [2017-04-17 15:24:53 +0000 UTC]
Question. In terms of inserting links, how do i break it? I only want one word to link to a specific journal entry, not the rest of a description.
👍: 0 ⏩: 0
Troll--cat In reply to ??? [2017-03-27 02:35:03 +0000 UTC]
Question! when changing font. (ex. bold) how do I end it?
👍: 0 ⏩: 1
Synfull In reply to Troll--cat [2017-04-01 18:03:08 +0000 UTC]
Same as the beginning tag, just with a / in. E.g. start with end with
👍: 0 ⏩: 1
gIazed In reply to ??? [2017-03-25 22:55:22 +0000 UTC]
do you know how to make the image to the left of my custom box beside the text or outside the white box i really need help with this
👍: 0 ⏩: 1
Synfull In reply to gIazed [2017-03-26 22:48:07 +0000 UTC]
Can you show me an example? I'm not sure i know what you mean
👍: 0 ⏩: 1
Anxiety-Curser In reply to ??? [2017-03-06 03:46:02 +0000 UTC]
Can the alignment code be used in the dA profile description as well?
👍: 0 ⏩: 1
Synfull In reply to Anxiety-Curser [2017-03-10 08:01:56 +0000 UTC]
I can't say I know off the top of my head. Easiest way to test is just to try it
👍: 0 ⏩: 1
Anxiety-Curser In reply to Synfull [2017-03-10 13:55:11 +0000 UTC]
Oh okei ^w^ Thankies for the tip!
👍: 0 ⏩: 0
iheartthedead In reply to ??? [2017-03-05 20:34:40 +0000 UTC]
How do i add a deviation in the description of a deviantion?
👍: 0 ⏩: 2
positiivity In reply to iheartthedead [2017-09-24 14:43:31 +0000 UTC]
Just use the link or thumb of the deviation
👍: 0 ⏩: 0
Synfull In reply to iheartthedead [2017-03-05 23:17:07 +0000 UTC]
You have to pay for a core membership to dA
👍: 0 ⏩: 1
iheartthedead In reply to Synfull [2017-03-06 04:03:50 +0000 UTC]
Oh..
Well thank you for responding!
👍: 0 ⏩: 0
Crazy-Cucco In reply to ??? [2017-03-02 02:38:36 +0000 UTC]
How do you make large text and underline at the same time like you did?
👍: 0 ⏩: 1
Synfull In reply to Crazy-Cucco [2017-03-04 17:44:05 +0000 UTC]
<h1><u>Text you want</u></h1>
👍: 0 ⏩: 1
Synfull In reply to VeromnicaPowers [2017-02-26 10:39:31 +0000 UTC]
I'm not sure I know what you mean
👍: 0 ⏩: 1
Synfull In reply to VeromnicaPowers [2017-02-27 17:55:59 +0000 UTC]
I still don't understand the question. What do you mean by " locked in lace"?
👍: 0 ⏩: 0
crazzycat5 In reply to ??? [2017-02-24 03:18:08 +0000 UTC]
Does the alignment codes not work in stash? I for some reason cannot get my header to center no matter what I do...the code just comes up as plain text. What might I be doing wrong?
👍: 0 ⏩: 2
Synfull In reply to crazzycat5 [2017-02-26 10:45:51 +0000 UTC]
However, when writing in stash (including artist descriptions etc) dA provides a formatting bar where you can choose the alignment. I guess the HTML codes don't really work as they would prefer you use these.
👍: 0 ⏩: 1
Synfull In reply to crazzycat5 [2017-02-26 10:40:17 +0000 UTC]
I've had issues getting to to work in Stash before too. O think it can be a bit hit and miss.
👍: 0 ⏩: 0
RebelSavant99 In reply to ??? [2017-02-20 00:11:41 +0000 UTC]
ugh why cant deviantart coding be as easy as furaffinity >_<
👍: 0 ⏩: 1
Synfull In reply to RebelSavant99 [2017-02-23 22:18:56 +0000 UTC]
It's not that difficult when you take time to learn it
👍: 0 ⏩: 1
RebelSavant99 In reply to Synfull [2017-02-23 22:39:27 +0000 UTC]
yeah I know its just kinda annoying at first
👍: 0 ⏩: 0
Gay-Space-Pirate In reply to ??? [2017-02-11 07:04:54 +0000 UTC]
when i try to align texts in different parts of the same custome box, say, i want something on the left and then something on the right, it automatically pushes the previous text to the right or left? how do i fix this?
👍: 0 ⏩: 1
Synfull In reply to Gay-Space-Pirate [2017-02-11 19:45:30 +0000 UTC]
If you send me a note with the code I'll take a look and see what the issue may be.
👍: 0 ⏩: 1
Gay-Space-Pirate In reply to Synfull [2017-02-11 20:44:31 +0000 UTC]
ok i sent one~ thank you so much for the help~
👍: 0 ⏩: 0
Sheeroi In reply to ??? [2017-02-05 03:42:41 +0000 UTC]
How to put those Lines like those transparent ones after a paragraph?
👍: 0 ⏩: 1
Synfull In reply to Sheeroi [2017-02-05 17:19:42 +0000 UTC]
Transparent ones? The black lines are done using a <hr> tag. For examples:
Text above
<hr>
Text below
Turns into ....
Text above
Text below
👍: 0 ⏩: 1
cocoatwist In reply to ??? [2017-01-29 20:08:45 +0000 UTC]
How do I insert links to youtube?
👍: 0 ⏩: 1
Synfull In reply to cocoatwist [2017-02-03 14:36:06 +0000 UTC]
Sorry, I don't actually know hot to do that
👍: 0 ⏩: 0
Mekiun In reply to ??? [2017-01-19 02:54:17 +0000 UTC]
How do you make the text move off the left sideline but not exactly in the center??
Like how this text ( :devsynfull: ➜ :devsynfull: ) is off of the left side.
👍: 0 ⏩: 1
Synfull In reply to Mekiun [2017-01-19 22:02:12 +0000 UTC]
I used the <blockquote> tag.
e.g. <blockquote>This text will be slightly indented</blockquote>
This text will be slightly indented
👍: 0 ⏩: 0
SmolSmok In reply to ??? [2017-01-12 23:14:56 +0000 UTC]
<sub><sub><sub>This text is even smaller 👍: 0 ⏩: 1
PlantDoggo In reply to ??? [2017-01-10 03:19:15 +0000 UTC]
How do you center an image? Like this code: <img src="http://i971.photobucket.com/albums/ae198/syns-stuff/Avatars/63.png" />
👍: 0 ⏩: 1
Synfull In reply to PlantDoggo [2017-01-15 17:25:11 +0000 UTC]
You surround it with the code to centralise something:
<div align="center"><img src="http://i971.photobucket.com/albums/ae198/syns-stuff/Avatars/63.png" /></div>
👍: 0 ⏩: 1
Zimoshi In reply to ??? [2017-01-08 16:29:39 +0000 UTC]
Thank you!Very useful,you have a watch from me.
But can you help me with my problem?In my custom box "ID" I have another white transparent box,but it's just too transparent for me,can I change it?
I mean,a "holder box" like this:
👍: 0 ⏩: 1
Synfull In reply to Zimoshi [2017-01-15 17:27:52 +0000 UTC]
Hi. Sorry for the delay in getting back to you. I assume you've fixed it now since the ID box on your page is semi transparent?
👍: 0 ⏩: 1
Zimoshi In reply to Synfull [2017-01-15 20:23:16 +0000 UTC]
Not really.I can't,I don't know how.I want it to look like this:
But with darker writing of course.
👍: 0 ⏩: 1
Synfull In reply to Zimoshi [2017-01-17 20:55:15 +0000 UTC]
I may have found a way. Can you send me a note with the entire contents of your custom box so I can try it first?
👍: 0 ⏩: 0
MedusasCascade In reply to ??? [2017-01-07 05:56:40 +0000 UTC]
Extraordinarily helpful
thank you so much
👍: 0 ⏩: 1
<= Prev | | Next =>