Search our Knowledge Base

How can I use HTML in my listings? What HTML can I use?

(last updated on 1/30/2012)

You can add HTML to your listings to make them appear cleaner and clearer on the page. HTML can really improve the way your description looks.

At GunBroker.com we encourage you to use HTML to make your listings appear more polished to the buyer.

HTML (HyperText Markup Language) is the simple language used to create Web pages. You can use these HTML tags to enhance your listings!!

Here's how:

Spacing and Lines:

  • Surround your paragraphs with the <p> </p> tags for a paragraph.
  • The <br> tag starts a new line without skipping any space.
  • To draw a line across the screen, use <hr> (for "horizontal rule").

Tag

Usage in HTML

It will appear in listing as:

<p> </p>

<p> Sig 229 Elite® 9mm Cal!</p>
<p> New and in Box! </p>

Sig 229 Elite® 9mm Cal!

New and in Box!

<br>

Sig 229 Elite® 9mm Cal! <br> You'll enjoy it!

Sig 229 Elite® 9mm Cal!
You'll enjoy it!

<hr>

Sig 229 Elite® 9mm Cal! <hr> You'll enjoy it!

Sig 229 Elite® 9mm Cal!


You'll enjoy it!

Different ways to create titles:

Tag

Usage in HTML

It will appear in listing as:

<h2></h2>

<h2>Sig 229 Elite® 9mm Cal!</h2>

Sig 229 Elite® 9mm Cal!

<h3></h3>

<h3>Sig 229 Elite® 9mm Cal!</h3>

Sig 229 Elite® 9mm Cal!

<h4></h4>

<h4>Sig 229 Elite® 9mm Cal!</h4>

Sig 229 Elite® 9mm Cal!

<h5></h5>

<h5>Sig 229 Elite® 9mm Cal!</h5>

Sig 229 Elite® 9mm Cal!

<h6></h6>

<h6>Sig 229 Elite® 9mm Cal!</h6>

Sig 229 Elite® 9mm Cal!

Enhance words with bold & italics:

Tag

Usage in HTML

It will appear in listing as:

<b></b>

<b>Sig 229 Elite® 9mm Cal!</b>

Sig 229 Elite® 9mm Cal!

<i></i>

<i>Sig 229 Elite® 9mm Cal!</i>

Sig 229 Elite® 9mm Cal!

Adjust your text size using <big> and <small> tags:

Tag

Usage in HTML

It will appear in listing as:

<big>
</big>

Buy <big>now</big> and lock in <big>your</big> win!

Buy now and lock in your win!

<small>
</small>

Buy now! <small>Don’t miss out!</small>

Buy now! Don’t miss out!

Be Colorful
Brighten your listing with colored text like aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver or teal, yellow.

Tag

Usage in HTML

It will appear in listing as:

<font color=color> </font>

Buy <font color=green>
now</font> and lock in your win!

Buy now and you may win!

<font color=color> </font>

Buy <font color=blue>
now</font> and lock in your win!

Buy now and lock in your win!

Center Your Text

Tag

Usage in HTML

It will appear in listing as:

<center>
</center>

<center>Buy now!</center>

Buy now!

Numeric Lists and Bullet Points:

  • For an ordered or numeric list, begin with <ol>.
  • For a bullet point list, begun with <ul>.
  • All lists need a <li> tag before them and a </li> tag at the end.

Tag

Usage in HTML

It will appear in listing as:

<ul>
</ul>

My item is:
<ul>
  <li>Factory New</li>
  <li>Never fired</li>
</ul>

My item is:

  • Factory New
  • Never fired

<ol>
</ol>

My item is:
<ol>
  <li>Factory New</li>
  <li>Never fired</li>
</ol>

My item is:

  1. Factory New
  2. Never fired

Add more pictures to your listing:
Use the <img> tag and indicate the Web address for the picture.

Tag

Usage in HTML

It will appear in listing as:

<img>

<img src="http://
www.mydomain.
com/images/
mypicture
.jpg">

Your picture will appear in the Web browser at the spot where your tag is listed.

We do not allow videos to be embedded within auctions. Instead simply add a link to your video and allow it to open in another window.

To get exactly the effect you want—just combine tags. For example, if you want buyers to see:

Buy Now!

Your HTML should say:

 <center><b><i>Buy Now!</i></b></center> 

For more information on HTML syntax and how to properly create code specific HTML tags see w3schools.com HTML Tutorial.

Specifically restricted HTML tags:

The following HTML tags are just some examples of tags that are stripped from the listing by GunBroker.com due to the potential harm to the viewer or possible malformation of the website:

<h1>
<html>
<head>
<title>
<form>

In addition to these tags, we do not allow Cascading Style Sheets (CSS) to be used.

CSS pages have the potential to be used maliciously for Cross Site Scripting (XSS)

XSS is bad for the following reasons:

1)      XSS can create div tag overlays that can affect the usage of our site.

2)      XSS can divert our buyers off of GunBroker to another potentially malicious site.

3)      XSS can download potentially dangerous software.

4)      XSS can enable people to steal peoples UserNames and Passwords

Click here for more info on Cross Site Scripting

Happy Listing!

Keywords: HTML, HTML Listing, HTML in my listing, HTML listings, Using HTML, Adding HTML to an item, HTML in the description

Copyright © 1999-2014 GunBroker.com, LLC. "GunBroker.com", the bullet logo, and "The Bidding Starts Now" are registered trademarks used under license. All Rights Reserved Worldwide (WEB7 4.3.13.24)
GunBroker.com - The World's Largest Online Auction of Firearms and Accessories™