HOME | DD

Published: 2013-01-24 03:09:27 +0000 UTC; Views: 157310; 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
Synfull In reply to ??? [2016-10-30 21:04:00 +0000 UTC]
There is an alternative thumbnail size called bigthumb. Just add the word 'big' to the front of the thumbcode (e.g. :bigthumb123456: )
👍: 0 ⏩: 1
Morf-en In reply to Synfull [2016-10-30 21:40:48 +0000 UTC]
Okay, thank you so so much for the answer
👍: 0 ⏩: 0
magpaii In reply to ??? [2016-10-16 07:29:41 +0000 UTC]
This is really useful, but how do you add links to images? Not thumbs though, like links to something else when you click on the image
👍: 0 ⏩: 1
Synfull In reply to magpaii [2016-10-16 18:21:58 +0000 UTC]
You put the code for the image inside the code for the link. E.g.
<a href="link to page"><img src="direct link to image"></a>
👍: 0 ⏩: 1
quartz-witch In reply to ??? [2016-10-16 04:09:55 +0000 UTC]
i am having issues centering the text on my submissions
here is an example. i used the code above - TESTING - disreguard-
👍: 0 ⏩: 1
Synfull In reply to quartz-witch [2016-10-16 18:36:40 +0000 UTC]
The symbols in the code (such as < > and ") have been replaced with the code equivalents. So whilst it looks the same, they aren't being treated as HTML tags. It'd just suggest that you try typing everything again from scratch (don't copy and paste) and hopefully that will fix it
👍: 0 ⏩: 0
Synfull In reply to Ruby-Bae [2016-10-15 23:35:21 +0000 UTC]
👍: 0 ⏩: 1
FoxiPon3 In reply to ??? [2016-10-15 18:07:41 +0000 UTC]
How would I make my text position align in the center?
I keep on trying to use it in Sta.sh writer, or does it work there...?
Sorry, I'm really confused..
👍: 0 ⏩: 1
Synfull In reply to FoxiPon3 [2016-10-15 23:38:26 +0000 UTC]
Sta.sh can be a bit odd about formatting. You can either use the buttons provided to set the alignment (like Word etc) or select Edit > HTML mode to be able to use the tags from this tutorial
👍: 0 ⏩: 1
deadfoxeye In reply to ??? [2016-10-08 21:40:38 +0000 UTC]
I'm still really confused by being able to put images on my page. I think i'm doing it right but the image keeps showing up as an x
👍: 0 ⏩: 1
Synfull In reply to deadfoxeye [2016-10-09 19:11:24 +0000 UTC]
If you send me a note (not a comment as the formatting gets screwed up) with a copy of the code then I'll take a look
👍: 0 ⏩: 1
xKoiyu In reply to ??? [2016-09-04 03:48:08 +0000 UTC]
Whenever I insert a link (like using Text to link), I only want one word to be the link, but the rest of what I type is the text. Can someone help me?
👍: 0 ⏩: 1
Synfull In reply to xKoiyu [2016-09-04 14:08:08 +0000 UTC]
Seems to suggest you aren't including the closing tag </a> at the point you want the link to end
👍: 0 ⏩: 1
xKoiyu In reply to Synfull [2016-09-04 14:10:38 +0000 UTC]
I see. I'll try that out and see if it works. Thank you!
👍: 0 ⏩: 0
HilivenAdopts In reply to ??? [2016-08-13 23:06:33 +0000 UTC]
How do i make my text in a comment smaller?
👍: 0 ⏩: 1
Synfull In reply to HilivenAdopts [2016-08-15 21:44:55 +0000 UTC]
Using the sub, sup or small tags in the tutorial
👍: 0 ⏩: 0
frenchylea In reply to ??? [2016-08-09 20:35:29 +0000 UTC]
i'm currently trying to edit this page: and I was wondering how I can include text in between the two pictures
👍: 0 ⏩: 1
Synfull In reply to frenchylea [2016-08-09 20:53:06 +0000 UTC]
I have found a way (if you look at the bottom left corner of my page you can see an example, but I can't find out how to stop the text going all of the way up to the images,
If this would be ok, let me know and I'll send you the code.
👍: 0 ⏩: 1
Synfull In reply to frenchylea [2016-08-09 21:41:26 +0000 UTC]
I've sent you a note with the code
👍: 0 ⏩: 0
PaintingRedAJ In reply to ??? [2016-08-04 04:28:32 +0000 UTC]
How would I get to center a pagedoll?
I just made one and I want to center it in the featured deviations.
👍: 0 ⏩: 2
thebeatlescartoon In reply to PaintingRedAJ [2016-08-04 19:37:20 +0000 UTC]
<div align="center">
then basically everything under it will be in the center.
👍: 0 ⏩: 1
PaintingRedAJ In reply to thebeatlescartoon [2016-08-04 19:47:41 +0000 UTC]
ok how would center this
paintingredaj.deviantart.com/a…
👍: 0 ⏩: 1
thebeatlescartoon In reply to PaintingRedAJ [2016-08-04 19:54:14 +0000 UTC]
<div align="center">pre00.deviantart.net/6d7b/th/p… ">
copy EVERYTHING (except this)
👍: 0 ⏩: 1
PaintingRedAJ In reply to thebeatlescartoon [2016-08-04 19:55:23 +0000 UTC]
cough it did not work
👍: 0 ⏩: 2
thebeatlescartoon In reply to PaintingRedAJ [2016-08-04 19:58:37 +0000 UTC]
ok, i see what i did wrong. You have to copy the link yourself because the link cuts off when i do it
so basically paste the code but get rid of the link and put this in pre00.deviantart.net/6d7b/th/p… (make sure not to delete the " when deleting the link.) (click the link and copy the url, then go back to the code and paste it in.)
👍: 0 ⏩: 1
thebeatlescartoon In reply to PaintingRedAJ [2016-08-04 19:56:20 +0000 UTC]
ok i will see what i did wrong hold on
👍: 0 ⏩: 1
PaintingRedAJ In reply to thebeatlescartoon [2016-08-04 19:57:01 +0000 UTC]
maybe u need to type the whole link
👍: 0 ⏩: 1
thebeatlescartoon In reply to PaintingRedAJ [2016-08-04 20:00:24 +0000 UTC]
yup. when i paste it it does the ... because da cant link the whole thing. so you have to click it urself and paste it
👍: 0 ⏩: 0
franki786 In reply to ??? [2016-07-27 14:40:13 +0000 UTC]
Will the code work on submission descriptions?
👍: 0 ⏩: 1
Synfull In reply to franki786 [2016-07-27 16:48:55 +0000 UTC]
Probably not, but I can't say I've tried it.
👍: 0 ⏩: 1
franki786 In reply to Synfull [2016-07-27 16:51:59 +0000 UTC]
Tried it on a recent submission, and it just shows the link, not the image.
👍: 0 ⏩: 1
<= Prev | | Next =>