For some this information may be “old hat.” For others, a refresher. For others still this will be something new.
Whatever your background and comfort level with computers, here it is, the RV advertiser’s guide to HTML tags!
The General Idea
Tags are what you use in web content to tell web browsers what the content is supposed to “be”.
Most HTML tags (as far as we’re concerned) wrap around the content you want to define:
<b>like so.</b> // note the forward slash in the closing </b> tag = critical.
For the most part you’ll want to stick to only the most basic tags.
Two major reasons why:
1. Some tagging just won’t look good on all RVDPs (RV Detail Pages), or may even “break” the page in some way.
2. Your fancy tags are likely to get “stripped out” anyway by the host site to ensure that the listings maintain a consistent level of quality and appearance, and to avoid any possible security concerns.
On to the Tags …
Again, we’re going to stay super-basic for the reasons mentioned above.
<strong></strong> or <b></b>
There are two ways to do this one; generally they produce the same effect.
<i></i> or <em></em>
Again, two possible tags to use. Will almost always do the same thing.
Wrap it around your paragraph and you should be good to go. This generally gives you some breathing room above and below your paragraph, as opposed to this next one…
New Line / Line Break
This one is a little different because you don’t wrap it around anything, you just put a single instance of it at the end of the line you want to break, like this.<br>
Unlike <p>, this will tend to kick the text down a single line, but without the appearance of a new paragraph.
Note: if for some reason <p> isn’t available to you (i.e. it’s getting stripped out), a possible workaround to simulate the effect is to do the following:
This will put an empty line between your first and second bit of content.
Speaking of , there is a whole host of other special HTML characters.
Why are They Necessary?
They’re not always. But they’re handy to make sure that your characters look the way you intend them to, as some transmission processes will remove special characters from text, but allow their respective codes through.
Here are a few of the more common ones:
|Resultant Char.||HTML Code||Char. Name|
Note: you may or may not need to use these; I’ve included a few to make you aware of their existence. There are many lists of them available on the web, here’s one for reference: HTML Characters
Lists are popular and help make content look a bit more organized. Here’s an example:
- Outdoor Kitchen
- Rear Bunks
- Extra Large Windows
They’re a bit more complicated to mark up, but not too crazy.
They follow this pattern:
For an ordered list, that is, one that displays numbers instead of dots or squares, use <ol> instead of <ul>.
What Tags Not To Use
These tags are likely to get stripped out for various reasons, as mentioned up top:
I’m going to stop there. Hopefully this helps take away some of the “gobbledegook” factor when it comes to your online listings. 🙂