HOME | DD

Synfull — Formatting text and images on dA (HTML + dA codes)

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 &#58; 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.

&#58;devsynfull: ➜ :devsynfull:





Other Tutorials

          

Related content
Comments: 1258

WishfulFox In reply to ??? [2016-01-26 01:44:41 +0000 UTC]

Is there a way to get the inserting links in color?

👍: 0 ⏩: 1

Synfull In reply to WishfulFox [2016-01-26 17:54:49 +0000 UTC]

Not in comments - dA restricts the colour of text there. You can in journals, but that's achieved via CSS (and I'm not familiar with that). But there are plenty of tutorials available.

👍: 0 ⏩: 1

WishfulFox In reply to Synfull [2016-01-26 21:20:06 +0000 UTC]

oh okay thanks!

👍: 0 ⏩: 0

Cinnamon-Drip In reply to ??? [2016-01-23 21:52:03 +0000 UTC]

can you make it smaller than this?

👍: 0 ⏩: 1

Synfull In reply to Cinnamon-Drip [2016-01-23 22:33:33 +0000 UTC]

Yes, it can go as small as you like

Just use multiple small/sub/sup tags one inside another

👍: 0 ⏩: 1

Cinnamon-Drip In reply to Synfull [2016-01-23 22:38:03 +0000 UTC]

thanks

👍: 0 ⏩: 0

Cinnamon-Drip In reply to ??? [2016-01-23 19:46:00 +0000 UTC]

Small texttest

👍: 0 ⏩: 0

Cinnamon-Drip In reply to ??? [2016-01-23 19:41:57 +0000 UTC]

Small text thanks

👍: 0 ⏩: 0

Cathasach In reply to ??? [2016-01-12 14:26:28 +0000 UTC]

How come when I try to do the image thing a small little icon only appears? I don't know if it's the computer I'm on or the browser.... I'm super confused

👍: 0 ⏩: 0

Pastasause In reply to ??? [2016-01-02 22:14:50 +0000 UTC]

Ayyy!


Don't mind me! I'm just being a weirdo

👍: 0 ⏩: 1

Synfull In reply to Pastasause [2016-01-03 14:31:04 +0000 UTC]

👍: 0 ⏩: 0

RoarTigerRoar In reply to ??? [2016-01-02 06:11:01 +0000 UTC]

Do you happen to know how you can make text wrap around thumbs? For example if I were to include a drawing in my "about me" widget and would like to have the text wrap around the image ;u;

👍: 0 ⏩: 1

Synfull In reply to RoarTigerRoar [2016-01-02 10:32:21 +0000 UTC]

I don't think that's possible, and if it is, I wouldn't know how to do it. Sorry

👍: 0 ⏩: 0

igoresha09 In reply to ??? [2015-12-30 14:33:35 +0000 UTC]

s06.flagcounter.com/countxl/lp… " alt="Flag Counter" border="0">

👍: 0 ⏩: 1

Synfull In reply to igoresha09 [2015-12-30 16:32:39 +0000 UTC]

You won't be able to use that code in comments

👍: 0 ⏩: 0

Cinnamon-Drip In reply to ??? [2015-12-29 05:27:48 +0000 UTC]

small wont work

👍: 0 ⏩: 1

Synfull In reply to Cinnamon-Drip [2015-12-29 11:13:54 +0000 UTC]

Seems to work for me. This is using the <small> tag

👍: 0 ⏩: 1

Cinnamon-Drip In reply to Synfull [2015-12-29 19:22:02 +0000 UTC]

put the <small>Small text</small> ->in comment

👍: 0 ⏩: 1

Synfull In reply to Cinnamon-Drip [2015-12-29 21:08:58 +0000 UTC]

Are you copying and pasting it from my example? I add in extra stuff into the code to make it broken (so it will show up) If you copy and paste this, some browsers (e.g. chrome) keep that hidden formatting and it continues to break.

I tried typing it out from scratch on multiple browsers, and with an account that has a premium membership and a standard membership and both worked fine.

👍: 0 ⏩: 1

Cinnamon-Drip In reply to Synfull [2015-12-30 00:41:53 +0000 UTC]

can you type the code that you use for me below

👍: 0 ⏩: 1

Synfull In reply to Cinnamon-Drip [2015-12-30 15:02:42 +0000 UTC]

It's the same as the example you used two comments ago, except you can't copy and paste - you need to type it in yourself.

Small text
Small text

👍: 0 ⏩: 1

Cinnamon-Drip In reply to Synfull [2015-12-30 17:42:23 +0000 UTC]

Small text
oh ok

👍: 0 ⏩: 0

TheFreedomWolf In reply to ??? [2015-12-27 01:36:16 +0000 UTC]

Hello again!
Anywho can you make a thumbnail for this?
sta.sh/01ahs5luws46

👍: 0 ⏩: 1

Synfull In reply to TheFreedomWolf [2015-12-30 23:42:17 +0000 UTC]

I'm not sure how you do it without a premium membership. I've heard it may be possible, but I wouldn't know how.

👍: 0 ⏩: 0

XxSonicLoverzxX In reply to ??? [2015-12-23 20:54:29 +0000 UTC]

It's probally impossible,but I want to do something like this in my ID :

text text text           IMAGE         text text text
text bla bla blah                          bla bla blah

👍: 0 ⏩: 1

Synfull In reply to XxSonicLoverzxX [2015-12-25 18:27:33 +0000 UTC]

Not sure if that is possible

👍: 0 ⏩: 1

XxSonicLoverzxX In reply to Synfull [2015-12-25 18:51:18 +0000 UTC]

I know,sorreh ! TwT

👍: 0 ⏩: 0

kurpingspace4 In reply to ??? [2015-12-21 02:58:05 +0000 UTC]

test

👍: 0 ⏩: 0

TheFreedomWolf In reply to ??? [2015-12-13 21:20:51 +0000 UTC]

I want to use this pagedoll but I don't know how to put it on my page.

Please help ;w;

Heres the picture as well: thefreedomwolf.deviantart.com/…

👍: 0 ⏩: 1

Synfull In reply to TheFreedomWolf [2015-12-13 23:27:26 +0000 UTC]

You can either use the thumbcode ( :thumb577755182: ) for a thumbnail sized version, or the code below for a larger version:

👍: 0 ⏩: 1

TheFreedomWolf In reply to Synfull [2015-12-13 23:44:16 +0000 UTC]

Thank you so much ;w;

👍: 0 ⏩: 0

SeriusPonyIsSerius1 In reply to ??? [2015-12-07 20:47:10 +0000 UTC]

help!

i would like to have a image wich can work like a url, you know, you click it and it sent you to a diferent page but i don't know how D:

👍: 0 ⏩: 1

Synfull In reply to SeriusPonyIsSerius1 [2015-12-07 21:09:58 +0000 UTC]

👍: 0 ⏩: 1

SeriusPonyIsSerius1 In reply to Synfull [2015-12-07 22:16:11 +0000 UTC]

thank you!

👍: 0 ⏩: 0

rainslices In reply to ??? [2015-11-27 21:08:18 +0000 UTC]

i need help !!

i've deleted everything in my profile widget and everything used to be centered,
but know when i do the

again, it doesn't work !! ;;///

👍: 0 ⏩: 1

Synfull In reply to rainslices [2015-11-29 09:36:45 +0000 UTC]

Can you send me a note (not a comment) with the code from your profile. Some of it seems centered, so I can hopefully spot why the rest isn't

👍: 0 ⏩: 1

rainslices In reply to Synfull [2015-11-29 09:43:43 +0000 UTC]

ah , i actually figured it out !!

when i copy pasted my old profile description from my sta.sh,
it wasn't centered

but when i redid it manually, it now is !! thank very much for the
help though ! i'll read into your gallery more if i need any help in
the future

thank you !!

👍: 0 ⏩: 0

Seven6ix In reply to ??? [2015-11-22 19:16:23 +0000 UTC]

How do you align an image to the right?

👍: 0 ⏩: 1

Synfull In reply to Seven6ix [2015-11-22 19:51:32 +0000 UTC]

<div align="right">Image</div>

👍: 0 ⏩: 0

SilentObserverIsHere In reply to ??? [2015-11-16 18:00:21 +0000 UTC]

Is there a way to get a background? ;v;

👍: 0 ⏩: 1

Synfull In reply to SilentObserverIsHere [2015-11-16 20:02:35 +0000 UTC]

You can in widgets, but through CSS not HTML. More info in these tutorials: www.deviantart.com/browse/all/…

👍: 0 ⏩: 1

SilentObserverIsHere In reply to Synfull [2015-11-16 23:08:12 +0000 UTC]

Oh okay, thank you cx

👍: 0 ⏩: 0

Djfireeagle In reply to ??? [2015-11-16 04:42:16 +0000 UTC]

Thank you very much for refreshing my memory on how to do this stuff ^_^ but I have forgot how to put music on my page, could you help by any change?

👍: 0 ⏩: 1

Synfull In reply to Djfireeagle [2015-11-16 17:52:36 +0000 UTC]

Can't say I've ever seen people add music before

👍: 0 ⏩: 1

Djfireeagle In reply to Synfull [2015-11-17 01:36:18 +0000 UTC]

It's like a youtube play button and you press it which creates the video sound. I had it before on my page but deleted by accident

👍: 0 ⏩: 0

5109x In reply to ??? [2015-11-05 15:13:16 +0000 UTC]

Thank you
Do you know how can I add small pic of my works on the description ??

👍: 0 ⏩: 1

Synfull In reply to 5109x [2015-11-08 21:51:36 +0000 UTC]

If you are talking about the description of a deviation - you would need to use thumbnails and that is a paid feature I believe

👍: 0 ⏩: 0

saberbun In reply to ??? [2015-11-02 19:58:10 +0000 UTC]

For align right, can you do the code then end the aligned after a certain point? And then do or instance align left and end that where u want to?

👍: 0 ⏩: 1

Synfull In reply to saberbun [2015-11-03 18:41:06 +0000 UTC]

Yes, but they will appear on separate lines. You can't have part of a line aligned left and part of the same line aligned right. For example:

This text is right aligned,
and this is left aligned


will appear as:

This text is right aligned,

and this is left aligned



Text is naturally left aligned, so you don't technically need the align="left" but as it will do that anyway.

👍: 0 ⏩: 1

saberbun In reply to Synfull [2015-11-03 18:41:59 +0000 UTC]

thank you this is extremely helpful actually

👍: 0 ⏩: 0


<= Prev | | Next =>