Feed
Home » MySpace » MySpace Tutorials » Basic HTML Tutorial

Nick Jag

Basic HTML Tutorial



MySpace Profile Basic HTML Tutorial

HTML is the basic language used for writing websites. HTML stands for Hypertext Markup Language. HTML allows you to style your text (bold, italics), create links, insert pictures, and many other basic functions of websites. Every section in the “edit profile” section of the MySpace website allows for HTML. Let’s get started!


Paragraph Tags

To separate your text into paragraphs, we use the paragraph tags:

<p>Put the paragraph here</p>



Break Tags

Break tags allow you to move to very next line:

Put a break at the end of this sentence and…<br />
you can write on the very next line…<br />
or the next line



Bold

To make text bold you can use this simple tag:

<b>This text is bold</b>



Italics

To use italics:

<i>This is in italics</i>



Hyperlinks

To create a hyperlink:

A link to Google: <a href=”http://www.google.com”> Link Title Here </a>

The above will create:

A link to Google: Link Title Here

If you would like to have the link open a new window, use this code:

A link to Google: <a href=”http://www.google.com” target=”_blank”> Link Title Here </a>



Images

To insert a picture:

This is a picture of my dog: <img src=”http://www.nickjag.com/dog.jpg”>

The above will create:

This is a picture of my dog:

To copy an image’s URL, right click on a picture on a website (this can be a picture you’ve uploaded to your MySpace profile).
View the properties of the picture and copy the URL if you are using Internet Explorer. If you are using Firefox, copy the image location. Now just paste the image location or URL into your image code.



Headings

To use different size headings:

<h1>Heading Size 1</h1>

becomes…

Heading Size 1

<h2>Heading Size 2</h2>

becomes…

Heading Size 2

<h3>Heading Size 3</h3>

becomes…

Heading Size 3

<h4>Heading Size 4</h4>

becomes…

Heading Size 4

<h5>Heading Size 5</h5>

becomes…

Heading Size 5


Horizontal Rule

To use a horizontal rule:

This text is above the line <hr /> This text is below the line

which becomes…

This text is above the line


This text is below the line

Combining HTML Tags

Two HTML tags may be used in this order:

<b><i>This text is bold and italicized</i></b>