Basic Code of HTML
Hey everyone! I decided I would make a little list of basic HTML tags that I think any tumblr user (or internet user, for that matter) should know. They’re very short and easy to remember, so I strongly suggest you memorize these because I’m certain you will find yourself using them.
BOLD FONT:
<b> Your Text </b> (Shortcut: CTRL + B / COMMAND + B on a Mac)
ITALIC FONT:
<i> Your Text </i> (Shortcut: CTRL + I / COMMAND + I on a Mac)
UNDERLINED TEXT:
<u> Your Text </u> (Shortcut: CTRL + U / COMMAND + U on a Mac)
CROSSED OUT TEXT:
<stroke> Your Text </stroke>
CENTERED TEXT:
<center> Your Text </center>
JUSTIFIED TEXT:
<div align=“justify”> Your Text </div> (You can also replace “justify” with “center”, “right” or “left”)
TO MAKE A LINK IN TEXT:
<a href=“URL”> Your Text </a>
TO START A NEW LINE:
<br> Your text. (This does not have a closing tag.)
TO START A NEW PARAGRAPH:
<p> Your text. (This does not have a closing tag.)
DIVIDER:
<hr> (Does not have a closing tag, it simply adds a line between two bodies of text.)
HEADER:
<h1> Your Text </h1>
Smaller headers:
<h2> Your Text </h2>, <h3> Your Text </h3>, etc.
CHANGE FONT SIZE:
<font size=“1”> Your Text </font> (You can change the number, they range from 1 being the smallest to 10 being the largest.)
CHANGE FONT COLOR:
<font color=“#000000”> Your Text </font> (You can change the color by changing the code. You can get more color codes here.)
To be honest, that’s all I can think of at the moment! I’ll be sure to tell you all if I think of anything else.
Also, if you copy/paste any of these codes, be sure to replace the quotation marks or they won’t work. :)
Comments
Post a Comment