Board index ‹ PBase ‹ HTML and Style Sheets ‹ Basic HTML codes for PBASE galleries
matiasasun wrote::!: EDIT NOTE: THIS INFORMATION AND MUCH MORE AVAILABLE IN THE PBASE WIKI AT http://pbasewiki.srijith.net/![]()
A lot of people don´t know very much about HTML codes. But I think that with these few codes we can start learning something more to create special things in our galleries. Note that I´ve said "galleries": this codes won´t work on the forums.
To make them work remember to add this codes in the "description" of your galleries, and remember to check the HTML box.
1.- To center text, link or images:
- Code: Select all
<p align="center">
Note that "center" can be changed acording to your desires.
2.- To make a line break (an "enter" in Word language):
- Code: Select all
<br>
3.- To set the text bold:
- Code: Select all
<b> at the begining and </b> at the end
so this code: it is <b>there</b>
should look like this:it is there
4.- To create a link:
- Code: Select all
<a href="http://www.__SELECTED__URL__"> Press here for Link </a>
Note that the second part of the code with the "/" closes the link
For example this
- Code: Select all
try to look at <a href="http://www.__SELECTED__URL__">this image</a> and give your opinion
should look like thistry to look at this image and give your opinion
5.- To insert an image:
- Code: Select all
<img SRC="http://www.pbase.com/image/__IMAGE__NUMBER__.jpg">
Note that ".jpg" must be added to the end of the line. Also note that the correct URL does have those elements.
6.- To insert a link in an image, so when you click over the image the link works:
- Code: Select all
<a href="http://www.__SELECTED__URL__"><img SRC="http://www.pbase.com/image/__IMAGE__NUMBER__.jpg"></a>
Note that these last code is a combination from the previous two.
I hope this can help people around here. There are a lot of sites with a lot of other codes but I think these ones are the most useful and the most common. Please correct me if I´m wrong in anything.
Board index ‹ PBase ‹ HTML and Style Sheets ‹ Basic HTML codes for PBASE galleries
Users browsing this forum: No registered users and 1 guest