[go: up one dir, main page]

100% found this document useful (1 vote)
3K views3 pages

Craigslist Code

The document provides examples of HTML code for basic text formatting, lists, links, images, and tables. It demonstrates how to use tags like <b>, <i>, <u>, <p>, <br>, <hr>, <h1-6>, <ul>, <ol>, <dl>, <a>, <img>, <pre>, and <table> to format text and other elements on a webpage.

Uploaded by

erroracct
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
3K views3 pages

Craigslist Code

The document provides examples of HTML code for basic text formatting, lists, links, images, and tables. It demonstrates how to use tags like <b>, <i>, <u>, <p>, <br>, <hr>, <h1-6>, <ul>, <ol>, <dl>, <a>, <img>, <pre>, and <table> to format text and other elements on a webpage.

Uploaded by

erroracct
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

CRAIGSLIST CODE

HTML code Simple Text Formatting This is some <b>bold</b> text. Other ways to emphasize text are <i>italics</> and <u>underline.</u> It's simple to make text <big>bigger</big> or <small>smaller</small> <blockquote>Text can be indented</blockquote> Tags can be <b><i>combined</i></b>, but for best results be sure to <s><big>close tags</big></s> in the opposite order they were opened. You can <font color="red">change</font> the <font color="green">colors</font> of your text. (Supported colors: black, blue, fuchsia, green, maroon, navy, olive, purple, red, teal.)

Results

This is some bold text. Other ways to emphasize are italics and underline. It's simple to make text bigger or smaller Text can be indented. Tags can be combined, but for best results be sure to close tags in the opposite order they were opened. You can change the colors of your text.

Line breaks <p>Text enclosed by the "p" tag is treated as a separate paragraph.</p> <p>This usually indicates the text should be separated from surrounding text by an extra line.</p> <p>The "br" tag causes<br>a single line break.</p>

Text enclosed by the "p" tag is treated as a separate paragraph. This usually indicates the text should be separated from surrounding text by an extra line. The "br" tag causes a single line break.

Horizontal Lines The "hr" tag creates a The "hr" tag creates a <hr> horizontal dividing line across the page horizontal dividing line across the page

Headers The "h1" "h2" "h3" "h4" "h5" and "h6" tags can be used to create <h1>Headers</h1> <h3>of various</h3> <h6>sizes</h>

The "h1" "h2" "h3" "h4" "h5" and "h6" tags can be used to create Headers of various sizes

Unordered lists

Breakfast: <ul> <li>Eggs</li> <li>Bacon</li> <li>Cap'n Crunch&trade;</li> </ul>

Breakfast:

Eggs Bacon Cap'n Crunch

Ordered lists Business Plan: <ol> <li>Collect Underpants</li> <li>?</li> <li>Profit</li> </ol> Dictionary lists Per Bierce: <dl> <dt>Deliberation</dt> <dd>The act of examining one's bread to determine which side it is buttered on.</dd> <dt>Magic</dt> <dd>An art of converting superstition into coin.</dd> <dt>Vote</dt> <dd>The instrument and symbol of a freeman's power to make a fool of himself and a wreck of his country.</dd> </dl> Links to other pages Creating links to <a href="http://en.wikipedia.org/">external documents</a> is extremely simple.

Business Plan: 1. 2. 3. Collect Underpants ? Profit

Per Bierce: Deliberation The act of examining one's bread to determine which side it is buttered on. Magic An art of converting superstition into coin. Vote The instrument and symbol of a freeman's power to make a fool of himself and a wreck of his country.

Creating links to external documents is extremely simple.

Externally-hosted images Caveat Emptor: <img src="http://www.craigslist.org/about/teamPix/homer.gif"> Caveat Emptor: Preformatted text <pre> In Justspring when the world is mudluscious the little lame baloonman whistles far and wee In Justspring when the world is mudluscious the little lame baloonman whistles and wee far

and eddieandbill come running from marbles and piracies and it's spring

and eddieandbill come running from marbles and piracies and it's

</pre> Tables <table> <tr><th>President</th><th>Inauguration</th></tr> <tr><td>Fillmore</td><td>1850</td></tr> <tr><td>Pierce</td><td>1853</td></tr> <tr><td>Buchanan</td><td>1857</td></tr> </table>

spring

President Fillmore Pierce Buchanan

Inauguration 1850 1853 1857

You might also like