Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
From MyBB To HTML (HQ Post)
#1
Hey all, here is a few translations

My BB Bold Is...
Code:
[b]Text Here[/b]

HTML Bold Is....
Code:
<strong>Text Here</strong>

MyBB Crossed Out (AKA Striked) Is...
Code:
[s]text here[/s]

HTML Crossed Out Is..
Code:
<strike>Text Here

MyBB Italics Are....
Code:
[i]Text here[/i]

HTML Italics Are.....
Code:
<i>Text Here</i>

MyBB IMG Tag's Are....
Code:
[img]directurlhere[/img]

HTML IMG Tag's Are....
Code:
<img src="/url/to/image" alt="image description" />

MyBB Code Tag's Are....
Code:
[code]CODE HERE[ / code]

HTML Code Tag's Are...
Code:
<code>CODE HERE</code>

MyBB Quotes Are....
Code:
[quote]QUOTE HERE[/quote]

HTML Quotes Are....
Code:
<blockquote>QUOTE HERE</blockquote>




As you can see many codes are related BUT many are not so dont get the idea the every tag is the same
Reply
#2
Thanks for posting this. I always have trouble finding the code for doing these edits.
[Image: zbacklash11.png]
Reply
#3
(04-05-2010, 04:53 PM)Backslash Wrote: Thanks for posting this. I always have trouble finding the code for doing these edits.

You's is welcome.
Reply
#4
Looks good, hopefully this will help some of the new members understand.

Also, you forgot
Code:
[yt]youtube link here (if has &feature at the end or URL, remove it)[/yt]
Reply
#5
Thanks for the share, Been getting back into HTML and im always in need of some help with html codes, I will be sure to use these from time to time, Thank you =].
[Image: 2jalumb.jpg]
Reply
#6
<strong>Text Here</strong>


FAIL
it is <B>Mr.kewl</b>
<img>server folder/file or direct URL here.</img>

it is

<img src="link">
hmmk
If you are willing to join SF Webmasters.
Reply
#7
Great information. It would be best stored under some sort of help tab. Oui
[Image: tje1.png]
Reply
#8
Nice info & very usefull for new users in html.. =)
Reply
#9
There're some flaws in your tutorial...

First off, it's recommended that you use the CSS attribute:
Code:
text-decoration:line-through;

instead of <s> / <strike>, because I don't think XHTML supports <s>.

You should use <em> instead of <i> if you are going to rely on tags. But really, HTML is a MARKUP language, not a "let's decorate our text" language. There's CSS for that. Use the "font-style" property.

Instead of using <strong></strong>, one should use "font-weight:bold;" (CSS)

To embed an img, you don't use <img></img>. You use <img src="/url/to/image" alt="image description" /> The tag is self closing if you are using XHTML.

<code> isn't an HTML tag. Where did you learn HTML? The equivalent of [code] in HTML is <pre>.

<sizehere> is not an HTML tag. Please, if you are going to teach something, double check your information before teaching it. To declare a font size in HTML, you use CSS, with this attribute:
Code:
font-size:5em;

There're many different unit of measurements used in typography, such as %, em, px, and so on.

I'm sure there's more, but since you didn't put much thought into this (clearly), I don't see a reason to go on.

Quote:<strong>Text Here</strong>


FAIL
it is <B>Mr.kewl</b>

<strong></strong> is XHTML.
<b></b> is HTML.
Reply
#10
Thanks bro, i really need it. starting my forum up again.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to Make your MYBB Central Plugin Compatible with new Mybb Billy Mays 3 1,885 07-12-2011, 06:40 PM
Last Post: Billy Mays
  [mybb]Sharing is sexy Social share buttons on every post envira 2 2,302 01-27-2011, 12:59 PM
Last Post: envira
  Changing post link properties in MyBB MarkW7 3 1,282 10-09-2010, 08:24 AM
Last Post: MarkW7
  [RESOLVED] Nasty Bug in first thread posts (post thinks it is HTML) DLight03 8 1,431 04-08-2010, 02:33 AM
Last Post: DLight03

Forum Jump:


Users browsing this thread: 1 Guest(s)