HOME | DD

Published: 2013-01-24 03:09:27 +0000 UTC; Views: 157292; 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
UmibeTheOceanGoddess In reply to ??? [2018-11-14 16:33:31 +0000 UTC]
I have tried using it in a journal and it still didn't work. I'll try the thumbnail code, but I'm a bit doubtful that it'll work instead.
👍: 0 ⏩: 0
Mangakido In reply to Synfull [2018-11-11 23:46:46 +0000 UTC]
Yeah, me too! XD Sorry to bug ya!
👍: 0 ⏩: 0
HoneyyBird In reply to ??? [2018-10-09 09:47:30 +0000 UTC]
how do u make images bigger and smaller?
👍: 0 ⏩: 1
Synfull In reply to HoneyyBird [2018-11-12 22:46:37 +0000 UTC]
Sorry for the really late response. If you are usin the
In most cases you only need to include one of the dimensions, as the html will scale the other dimension accordingly.
👍: 0 ⏩: 0
SpecimenX21 In reply to EerieEcho-DA [2019-02-26 01:32:26 +0000 UTC]
Nope, I copy-pasted it into Notepad to read it.
👍: 0 ⏩: 0
Ampraeh In reply to EerieEcho-DA [2018-09-27 17:02:55 +0000 UTC]
Well I copy and pasted your text so I can read c:
👍: 0 ⏩: 0
Synfull In reply to EerieEcho-DA [2018-09-23 14:27:39 +0000 UTC]
Nope I just zoomed in on my browser
👍: 0 ⏩: 0
WisteriaBean In reply to ??? [2018-09-14 23:15:34 +0000 UTC]
👍: 0 ⏩: 1
WisteriaBean In reply to ??? [2018-09-14 23:14:59 +0000 UTC]
👍: 0 ⏩: 0
zubair43 In reply to ??? [2018-08-26 12:42:39 +0000 UTC]
so how to insert images in the artists brief section or artists comments section?
👍: 0 ⏩: 1
Synfull In reply to zubair43 [2018-08-28 22:36:05 +0000 UTC]
Normally you just use a thumbcode but I think that feature is only available for premium members
👍: 0 ⏩: 1
Wintercat96 In reply to ??? [2018-08-11 15:41:49 +0000 UTC]
Is there a way to resize an image? I remember there was a code you could use to adjust the size of the image.
👍: 0 ⏩: 1
Synfull In reply to Wintercat96 [2018-08-12 22:43:33 +0000 UTC]
You can add a width or height value (or both) to the image code. For example:
👍: 0 ⏩: 1
GigglesDaAutistHyena In reply to ??? [2018-08-09 23:00:33 +0000 UTC]
The imade thing doesn't even show up! It just shows a stupid 'x', not even showing the image!
👍: 0 ⏩: 1
Synfull In reply to GigglesDaAutistHyena [2018-08-10 00:42:41 +0000 UTC]
That's the paceholder to say it can't locate the image you have linked. Double check that the direct link to the image works and is in the correct format
👍: 0 ⏩: 1
GigglesDaAutistHyena In reply to Synfull [2018-08-10 02:00:15 +0000 UTC]
I checked already. I
👍: 0 ⏩: 0
Prince-Yano In reply to ??? [2018-07-04 17:59:02 +0000 UTC]
I made the dumb idea of erasing my text in my DA ID and it was perfectly centered within it. When I saved it it shifted to the left when I tried to completely center it. How do I make it so that all of my content is completely centered in the DA ID widget? I totally forgot how to do it. ;-;
EDIT: Never mind I got it now. It fixed itself when I added my image to it. ;v;
👍: 0 ⏩: 1
Synfull In reply to Prince-Yano [2018-08-12 22:53:15 +0000 UTC]
Sorry for the late reply and thanks for the edit - I'm glad to know you manated to work it out in the meantime.
👍: 0 ⏩: 0
Schleckermaul In reply to ??? [2018-07-02 19:20:40 +0000 UTC]
///outofmute. Does anyone know how to do the second bullet point that is hollow in the middle and not a full shaded in black dot?
👍: 0 ⏩: 1
Synfull In reply to Schleckermaul [2018-08-12 23:05:59 +0000 UTC]
Sory for the late reply. If you haven't worked this out already, you can nest two lists with one inside the other. The outer list will use solid bullet points. The inner list will have the hollow one.
However, dA likes to remove excess formatting so if you press enter to add new lines in (to nicely format the code) sometimes it would change the bullet points back to the solid black ones. To work around this I either put all the code on one line, or pressed shift-enter to move code to the next line rather than just enter.
For example:
-----
Code
-----
<ul><li>First type of bullet point</li><li>First type of bullet point</li><ul><li>Second type of bullet point</li></ul></ul>
OR
<ul>
<li>First type of bullet point</li>
<li>First type of bullet point</li>
<ul>
<li>Second type of bullet point</li>
</ul>
</ul>
----
What it looks like
-----
- First type of bullet point
- First type of bullet point
- Second type of bullet point
👍: 0 ⏩: 0
BlahDeeBlah1029 In reply to ??? [2018-06-21 18:26:58 +0000 UTC]
Thank you so much for this tutorial!!!
👍: 0 ⏩: 1
Synfull In reply to BlahDeeBlah1029 [2018-08-10 00:31:49 +0000 UTC]
Glad you found it useful
👍: 0 ⏩: 0
TheEpicness9000 In reply to ??? [2018-06-14 23:54:11 +0000 UTC]
Can you embed images into notes?
👍: 0 ⏩: 1
Synfull In reply to TheEpicness9000 [2018-06-16 23:19:38 +0000 UTC]
You can use thumbcode but you can'y embed other images
👍: 0 ⏩: 0
Kayleonn In reply to ??? [2018-06-11 22:16:28 +0000 UTC]
How do I make the text in the center? When I use the
and replace Option with center it doesn't do anything :/
Edit:Nevermind I figured this one out
👍: 0 ⏩: 1
Kayleonn In reply to ??? [2018-06-10 15:19:49 +0000 UTC]
Is there a way I can make an image go in the center of something?
Everytime I use an image in a custom box it's to the left a bit and I don't know how to make at go in the center
👍: 0 ⏩: 1
Synfull In reply to Kayleonn [2018-08-12 22:46:11 +0000 UTC]
Sorry for the ridiculously late reply. If you haven't worked this out by now you can surround the image code with a alignment code to make it centralised. For example:
<div align="center"><img src="http://my.image.url" /></div>
👍: 0 ⏩: 0
7thDeath In reply to ??? [2018-05-22 09:49:53 +0000 UTC]
The last few weeks I have some issues with the coding.
Whenever I write my codes and then submit it (description), it suddenly only counts the coding for one line instead of the whole text until >.
When I edit the descr. again there is suddenly a > at the end of the line??
Example:
I put the text this way:
Text
After submitting, I edit it again then there's this:
Now with things like "small" / "b" etc. I can work around by adding this <> > to each line, but it obviously doesn't work with "blockquote" as soon as it breaks.
I can't put "blockquote" on each line, it would not make sense...
Help please?
[edit]
After editing this comment, it suddenly looks like this: coding error
👍: 0 ⏩: 1
Synfull In reply to 7thDeath [2018-05-23 20:09:55 +0000 UTC]
I imagine that dA is trying to format the code so it understands it correctly, which is causing a few issues for you. There is another tag called <br/> which will start a new line. There's a chance that you could use that in the middle of a block quote to say where the lines should be. For example:
<bq>This is on one line.<br/>This is on a second line</bq>
I'm not sure if that will work, but could be worth a try. Obviously it doesn't make the formatting nice to do, but it would save having a block quote tag on every line.
👍: 0 ⏩: 1
7thDeath In reply to Synfull [2018-05-23 21:33:33 +0000 UTC]
But this issue appeared recently, I had no issues with it the past years.
And it's not only me, but also a lot of other people facing this problem.
I offer coding for people to put a proper character sheet (written info) and the blockquotes where there to highlight specific paragraphs.
Now recently people using the coding also have this issue, the blockquotes do not work accordingly. :T
Using the "br" code will most likely confuse the people using my codes, since there are gaps to fill in they won't see where to put their own infos anymore. :c
Is there any hope this will be "fixed"?
👍: 0 ⏩: 1
Synfull In reply to 7thDeath [2018-05-27 22:37:39 +0000 UTC]
No idea. You'd be better off asking the dA helpdesk to see if it is a bug or by design.
👍: 0 ⏩: 1
7thDeath In reply to Synfull [2018-05-28 17:47:33 +0000 UTC]
Alright, I reported the problem to the help desk.
Thank you for your help.
👍: 0 ⏩: 0
<= Prev | | Next =>