User:Wonghk3/Sandbox/WikiTextDa5

CH-25: Width & Height
FOLLOW samples on tutorial page... Width_and_Height

WIDTH of a Page

 * We can control the width of a page using a paragraph or div tag
 * Two types of attribute coding can be used:

width:500px (for pixels) width:50%  (as a percent of the page)

TO DEMO: 1. Copy Lorem Ipsum PP to sandbox 2. Copy the following with closing div tag 3. Note: background color is lightseagreen and font color is white; and,
 * with width at 500px, the PP occupies over half of the page

4. Note also the words are wrapping...

{Lorem ipsum...} 5. Copy the first PP further down the page 6. Change from pixel to percent (50%) 7. Note again the word wrapping but this time only half of the page is used for the paragraph

HEIGHT of a Page
height:300px 8. Add height attribute to second paragraph 9. Note also, you can add multiple attributes using semicolon
 * The height of a page can also be controlled
 * It uses the attribute code:
 * Note: You can NOT use percent to control height

CH-26: Alignment
FOLLOW samples on tutorial page... Alignment

CENTERING TITLES

 * Titles default to the left of the page.
 * They can be aligned on the page using the following attribute: (property:value)

I Love Wikitext

I Love Wikitext

I Love Wikitext

TO DEMO: 1. copy the first example into sandbox 2. change the value to show diff placing of Title

CENTERING HEADERS

 * Centering headers requires use of  tags
 * place attribute within the h# tags

CENTERING HEADERS 3. create a header-3 using equal sign, then show preview 4. create another heading using the h-tags, then add text-align:center

VERTICAL ALIGNMENT
This text is in the middle 5. copy the code above, then show preview 6. also show on separate lines: View Area Edit Box Summary Box Action Tabs
 * To create a container or box with text in it, we combine two attributes:

CH-27: Tables
FOLLOW samples on tutorial page... Tables


 * OPENING and CLOSING TAGS Use curly bracket and a pipe: {| and |}


 * ROWS Use a pipe and a dash (no closing tag): |-


 * CELLS Use a pipe only (no closing tag): |


 * ADD BORDERS and BACKGROUND COLORS Shortcut to an actual table, add a class: {| class="wikitable"


 * ADDING ADDITIONAL ROWS AND CELLS Just add more rows and cells.

Note: The Bambls are taking a special interest in Bavarian Parishes. Take them to Bavaria and show them the table list. Ask them to note the approved structure standard of the page. Explain that you emailed Danielle to be on the lookout for them at Projects Meeting.
 * HOW TO STRUCTURE A LIST USING TABLES See sample coding in Univ

CH-28: Breadcrumb Trails
FOLLOW samples on tutorial page... Breadcrumb_Trails

United States > California > Contra Costa County

CH-29: Ref/Footnotes
FOLLOW samples on tutorial page... References/Footnotes

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec sit amet iaculis metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.

CH-30: SEO
FOLLOW samples on tutorial page... SEO

FIND your family history and meet others with similar genealogy in this guide to Hawaii ancestry.