Learn to Program: BBCode
Posted: Thu Sep 02, 2021 12:23 am
Learn to Program: BBCode
This is the first computer "language" topic in our "Learn to Program" series. This "language" is called "BBCode" and that's short for "Bulletin Board Code" which is used in lots of "bulletin board" software (like the PHPBB software of this forum). There are many variants of BBCode, and we're using the one described here: https://www.phpbb.com/community/help/bbcode.
I'll be posting lessons and "exercises" in this topic. Feel free to do the exercises and post the results at any time. Also feel free to post any questions. Mostly, have fun!!
This is a table of the tags covered so far:
Exercise 1 (Bold, Italic, Underlined):
Exercise 2 (Use of color):
Exercise 3: (Quoting)
Exercise 4: (Lists)
Exercise 5: (Numbered Lists)
This is the first computer "language" topic in our "Learn to Program" series. This "language" is called "BBCode" and that's short for "Bulletin Board Code" which is used in lots of "bulletin board" software (like the PHPBB software of this forum). There are many variants of BBCode, and we're using the one described here: https://www.phpbb.com/community/help/bbcode.
I'll be posting lessons and "exercises" in this topic. Feel free to do the exercises and post the results at any time. Also feel free to post any questions. Mostly, have fun!!
This is a table of the tags covered so far:
Feature | Example | Opening tag | Closing tag | Result |
Bold | [b]Cape Kiwanda[/b] | [b] | [/b] | Cape Kiwanda |
Italic | [i]Oregon[/i] | [i] | [/i] | Oregon |
Underline | [u]1978[/u] | [u] | [/u] | 1978 |
Color | [color=#FF0000]Glider[/color] | [color=#FF0000] | [/color] | Glider |
Quote | [quote="Bob"]Hello![/quote] | [quote="Bob"] | [/quote] |
|
List | [list] [*]Keel [*]Crossbar [*]Kingpost [/list] | [list] and [*] | [/list] |
|
Numbered List | [list=1] [*]Keel [*]Crossbar [*]Kingpost [/list] | [list=1] and [*] | [/list] |
|
Exercise 1 (Bold, Italic, Underlined):
Post a few sentences (at least 2) describing sites that you've flown or visited or would like to fly or visit. For each site, make the site name bold, make the location (city, state, etc) italic, and underline the year that you flew or visited (past, present, or future).
Exercise 2 (Use of color):
Make a post to this topic that describes a few gliders (or airplanes or cars) that you've seen or owned. Use a few appropriate colors in the description.
Exercise 3: (Quoting)
Post a famous quote to this topic and include the name of the person who said it (or wrote it) in the quote tag. Also post a second famous quote to this topic without any name in the quote tag.
Exercise 4: (Lists)
Post a short list of anything related to hang gliding.
Exercise 5: (Numbered Lists)
Post a short numbered list of steps for anything related to hang gliding.