FamilySearch HTML Tutorial Answers: Difference between revisions
m (Text replacement - "/learn/wiki" to "/wiki") |
(Changed "Rating" to "Content".) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*What is CSS? | *What is CSS? | ||
{{Block indent|D. All of the above}} | |||
*What is HTML? | *What is HTML? | ||
{{Block indent|B. Language for all of the Internet }} | |||
*What is the left sidebar for? | *What is the left sidebar for? | ||
{{Block indent|D. All of the above.}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Tutorial|Back to Home Page]] | [[Help:Wiki University HTML-- Tutorial|Back to Home Page]] | ||
Line 15: | Line 15: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*The forward slash / is used in | *The forward slash / is used in | ||
{{Block indent|A. Closing header tags.}} | |||
*Tags are easy to see on pages in the Wiki | *Tags are easy to see on pages in the Wiki | ||
{{Block indent|False}} | |||
*Two monitors are always better than one | *Two monitors are always better than one | ||
{{Block indent|True}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Introduction|Back to Introduction]] | [[Help:Wiki University HTML-- Introduction|Back to Introduction]] | ||
Line 41: | Line 41: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*We don't use Header Ones in FamilySearch Wiki articles | *We don't use Header Ones in FamilySearch Wiki articles | ||
{{Block indent|True}} | |||
*Header Five and Six are rairly used | *Header Five and Six are rairly used | ||
{{Block indent|True}} | |||
*Header Two work well in FamilySearch WIki | *Header Two work well in FamilySearch WIki | ||
{{Block indent|False}} | |||
*Avoid using Header Three and Header Four in articles | *Avoid using Header Three and Header Four in articles | ||
{{Block indent|False}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Headers|Back to Headers]] | [[Help:Wiki University HTML-- Headers|Back to Headers]] | ||
Line 66: | Line 66: | ||
*This is how the unordered lists will appear: | *This is how the unordered lists will appear: | ||
{{Block indent|*Birth Certificates|2}} | |||
{{Block indent|*Land Records|2}} | |||
{{Block indent|*Probate Records|2}} | |||
{{Block indent|*Census|2}} | |||
{{Block indent|*Vital Records|2}} | |||
*Coding for ordered list: | *Coding for ordered list: | ||
Line 94: | Line 94: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*If you have a cooking recipe, which list would you use to show the steps? | *If you have a cooking recipe, which list would you use to show the steps? | ||
{{Block indent|A. Ordered List|2}} | |||
*If you were listing your favorite foods in order of preference, which lists would you use? | *If you were listing your favorite foods in order of preference, which lists would you use? | ||
{{Block indent|A. Ordered List|2}} | |||
*If you were listing the contents of your pockets, which list would you use? | *If you were listing the contents of your pockets, which list would you use? | ||
{{Block indent|B. Unordered List|2}} | |||
</div> | </div> | ||
Line 110: | Line 110: | ||
<font color="red"><nowiki><ul></nowiki></font color> | <font color="red"><nowiki><ul></nowiki></font color> | ||
{{Block indent|1=<font color="green"><nowiki><li></nowiki></font color>Fruits<br>|2=1}} | |||
{{Block indent|1=<font color="blue"><nowiki><ul></nowiki></font color><br>|2=2}} | |||
{{Block indent|<nowiki><li>Apples</li></nowiki><br>|3}} | |||
{{Block indent|<nowiki><li>Pears</li></nowiki><br>|3}} | |||
{{Block indent|<nowiki><li>Oranges</li></nowiki><br>|3}} | |||
{{Block indent|1=<font color="blue"><nowiki></ul></nowiki></font color><br>|2=2}} | |||
{{Block indent|1=<font color="green"><nowiki></li></nowiki></font color><br>|2=1}} | |||
{{Block indent|1=<font color="green"><nowiki><li></nowiki></font color>Vegetables<br>|2=1}} | |||
{{Block indent|1=<font color="blue"><nowiki><ul></nowiki></font color><br>|2=2}} | |||
{{Block indent|<nowiki><li>Peas</li></nowiki><br>|3}} | |||
{{Block indent|<nowiki><li>Carrots</li></nowiki><br>|3}} | |||
{{Block indent|<nowiki><li>Corn</li></nowiki><br>|3}} | |||
{{Block indent|1=<font color="blue"><nowiki></ul></nowiki></font color><br>|2=2}} | |||
{{Block indent|1=<font color="green"><nowiki></li></nowiki></font color><br>|2=1}} | |||
{{Block indent|1=<font color="green"><nowiki><li></nowiki></font color>Nuts<br>|2=1}} | |||
{{Block indent|1=<font color="blue"><nowiki><ul></nowiki></font color><br>|2=2}} | |||
{{Block indent|<nowiki><li>Walnuts</li></nowiki><br>|3}} | |||
{{Block indent|<nowiki><li>Peanuts</li></nowiki><br>|3}} | |||
{{Block indent|<nowiki><li>Almonds</li></nowiki><br>|3}} | |||
{{Block indent|1=<font color="blue"><nowiki></ul></nowiki></font color><br>|2=2}} | |||
{{Block indent|1=<font color="green"><nowiki><li></nowiki></font color>Grains<br>|2=1}} | |||
{{Block indent|1=<font color="blue"><nowiki><ul></nowiki></font color><br>|2=2}} | |||
{{Block indent|<nowiki><li>Wheat</li></nowiki><br>|3}} | |||
{{Block indent|<nowiki><li>Soybeans</li></nowiki><br>|3}} | |||
{{Block indent|<nowiki><li>Barley</li></nowiki><br>|3}} | |||
{{Block indent|1=<font color="blue"><nowiki></ul></nowiki></font color><br>|2=2}} | |||
{{Block indent|1=<font color="green"><nowiki></li></nowiki></font color><br>|2=1}} | |||
<font color="red"><nowiki></ul></nowiki></font color></div><br><br> | <font color="red"><nowiki></ul></nowiki></font color></div><br><br> | ||
Here's how the links would look on a page: | Here's how the links would look on a page: | ||
Line 160: | Line 160: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*If you were nesting a list of states in no particular order in a list of countries, which list would you use?: | *If you were nesting a list of states in no particular order in a list of countries, which list would you use?: | ||
{{Block indent|B. Unordered List}} | |||
*If you were nesting a list of states by size in a list of countries by size, which lists would you use? | *If you were nesting a list of states by size in a list of countries by size, which lists would you use? | ||
{{Block indent|A. Ordered List}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Nesting Lists|Back to Nesting Lists]] | [[Help:Wiki University HTML-- Nesting Lists|Back to Nesting Lists]] | ||
Line 194: | Line 194: | ||
<nowiki>*[http://www.adairchs.org/ Adair County Historical Society]</nowiki><br> | <nowiki>*[http://www.adairchs.org/ Adair County Historical Society]</nowiki><br> | ||
<nowiki>*[http://www.adairchs.org/FAMILY_HISTORY_ADAIR.pdf Search Your Family History in Adair Co. MO]</nowiki><br> | <nowiki>*[http://www.adairchs.org/FAMILY_HISTORY_ADAIR.pdf Search Your Family History in Adair Co. MO]</nowiki><br> | ||
<nowiki>*[https://familysearch.org/wiki/en/Special:Search?</nowiki><br>fulltext=true&search=Kirksville+Missouri+Family+History+Center | <nowiki>*[https://familysearch.org/wiki/en/Special:Search?</nowiki><br>fulltext=true&search=Kirksville+Missouri+Family+History+Center FamilySearch Center]</nowiki><br> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><!--</nowiki></font color>Link to town clerk<font color="red">----------------></font color></div><br> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><!--</nowiki></font color>Link to town clerk<font color="red">----------------></font color></div><br> | ||
Line 211: | Line 211: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*How many comments can you insert on page? | *How many comments can you insert on page? | ||
{{Block indent|C. As many as you like.|2}} | |||
*How many words can you put in a comment? | *How many words can you put in a comment? | ||
{{Block indent|C. As many words as you want.|2}} | |||
*Where can you insert comments? | *Where can you insert comments? | ||
{{Block indent|C. Anywhere you want.</div>|2}} | |||
[[Help:Wiki University HTML-- Comments|Back to Comments]] | [[Help:Wiki University HTML-- Comments|Back to Comments]] | ||
---- | ---- | ||
Line 226: | Line 226: | ||
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. <br><br> | 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. <br><br> | ||
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. | 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. | ||
*Then with the same paragraph put <font color="red"><nowiki>< | *Then with the same paragraph put <font color="red"><nowiki><span></nowiki></font color> and <font color="red"><nowiki></span></nowiki></font color> between each one. | ||
< | <span>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. </span> | ||
< | <span>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. </span> | ||
< | <span>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. </span> | ||
*<i>Notice the spacing between the paragraphs is almost the same in both problems. However, the paragraph tag allows you to make changes to the paragraph whereas the <font color="red"><nowiki><br></nowiki></font color> will not and which we will cover in the next chapter</i>. | *<i>Notice the spacing between the paragraphs is almost the same in both problems. However, the paragraph tag allows you to make changes to the paragraph whereas the <font color="red"><nowiki><br></nowiki></font color> will not and which we will cover in the next chapter</i>. | ||
</div> | </div> | ||
Line 236: | Line 236: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*When you load paragraphs, using the enter button will automatically put spaces between them. | *When you load paragraphs, using the enter button will automatically put spaces between them. | ||
{{Block indent|B. False}} | |||
*It is better to use <font color="red"><nowiki><br></nowiki></font color> than <font color="red"><nowiki><p></nowiki></font color> in separating paragraphs. | *It is better to use <font color="red"><nowiki><br></nowiki></font color> than <font color="red"><nowiki><p></nowiki></font color> in separating paragraphs. | ||
{{Block indent|B. False}} | |||
*A <font color="red"><nowiki><p></nowiki></font color> does not require an ending tag for the paragraphs to separate like the <font color="red"><nowiki><br></nowiki></font color> | *A <font color="red"><nowiki><p></nowiki></font color> does not require an ending tag for the paragraphs to separate like the <font color="red"><nowiki><br></nowiki></font color> | ||
{{Block indent|B. False}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Paragraphs|Back to Paragraph Page]] | [[Help:Wiki University HTML-- Paragraphs|Back to Paragraph Page]] | ||
Line 247: | Line 247: | ||
====Exercises==== | ====Exercises==== | ||
<div style="border:10px solid lightgreen; padding:5px; "> | <div style="border:10px solid lightgreen; padding:5px; "> | ||
< | <span style="font-family:papyrus; font-size:14pt; ">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.</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>< | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><span style="</nowiki><font color="red">font-family:papyrus; font-size:14pt</font color>">Lorem ipsum ... <nowiki></span></nowiki></div> | ||
< | <span style="font-family:mistral; font-size:14pt; ">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.</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>< | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><span style="</nowiki><font color="red">font-family:mistral; font-size:14pt</font color>">Lorem ipsum ... <nowiki></span></nowiki></div> | ||
</div> | </div> | ||
Line 260: | Line 260: | ||
<div style="border:10px solid lightgray; "> | <div style="border:10px solid lightgray; "> | ||
*How many attributes can you put in the paragraph tag? | *How many attributes can you put in the paragraph tag? | ||
{{Block indent|D. None of the above (It is unlimited)|2}} | |||
*What symbol do you use to separate a property from a value? | *What symbol do you use to separate a property from a value? | ||
{{Block indent|A. Colon|2}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Changing Fonts|Back to Changing Fonts]] | [[Help:Wiki University HTML-- Changing Fonts|Back to Changing Fonts]] | ||
Line 271: | Line 271: | ||
<div style="border:10px solid lightgreen; padding:5px; "> | <div style="border:10px solid lightgreen; padding:5px; "> | ||
*Enlarge the lorem ipsum paragraph to 20px. | *Enlarge the lorem ipsum paragraph to 20px. | ||
< | <span style="font-size:20px">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.</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:14px; font-family:Courier New"><nowiki>< | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:14px; font-family:Courier New"><nowiki><span style="</nowiki><font color="red">font-size:20px</font color>">Lorem ipsum ... <nowiki></span></nowiki></div><br> | ||
*Enlarge a header to 36px. | *Enlarge a header to 36px. | ||
<h1 style="font-size:36px; margin:0px; padding:0px">Header</h1> | <h1 style="font-size:36px; margin:0px; padding:0px">Header</h1> | ||
Line 283: | Line 283: | ||
====Quick Quiz==== | ====Quick Quiz==== | ||
<div style="border:10px solid lightgray; padding:5px; ">*You cannot enlarge headers | <div style="border:10px solid lightgray; padding:5px; ">*You cannot enlarge headers | ||
{{Block indent|B. False|2}} | |||
*You can add the "font-size" attribute between the = sign and the words of the header | *You can add the "font-size" attribute between the = sign and the words of the header | ||
{{Block indent|B. False</div>|2}} | |||
[[Help:Wiki University HTML-- Sizing Fonts|Back to Sizing Fonts]] | [[Help:Wiki University HTML-- Sizing Fonts|Back to Sizing Fonts]] | ||
---- | ---- | ||
Line 295: | Line 295: | ||
*Change the color of a header. | *Change the color of a header. | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>< | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><span style="</nowiki><font color="red">color:Cornflowerblue</font color>">Lorem ipsum ... <nowiki></span></nowiki></div><br><br> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>< | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><span style="</nowiki><font color="red">color:#5f9ea0</font color>">Lorem ipsum ... <nowiki></span></nowiki></div><br><br> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><h1 style="</nowiki><font color="red">color:red</font color">>Header<nowiki></h1></nowiki></div> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><h1 style="</nowiki><font color="red">color:red</font color">>Header<nowiki></h1></nowiki></div> | ||
Line 305: | Line 305: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*You can use any name that is common to everyone for a color. | *You can use any name that is common to everyone for a color. | ||
{{Block indent|B. False|2}} | |||
*If the HEX number does not work in the code you may have: | *If the HEX number does not work in the code you may have: | ||
{{Block indent|c. All of the above|2}} | |||
*You have to use the header tags to color headers | *You have to use the header tags to color headers | ||
{{Block indent|A. True|2}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Font Colors|Back to Font Colors]] | [[Help:Wiki University HTML-- Font Colors|Back to Font Colors]] | ||
Line 322: | Line 322: | ||
Here is the coding: | Here is the coding: | ||
<p style="border:1px solid red; padding:5px"> | <p style="border:1px solid red; padding:5px"> | ||
<font color="red"><nowiki>< | <font color="red"><nowiki><span style="font-weight:bold"></nowiki></font>Lorum ipsum dolor sit amet, consectetur adipiscing elit.<font color="red"><nowiki></p></nowiki></font> 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.</span> | ||
*Make the next to the last sentence of lorem ipsum italic. | *Make the next to the last sentence of lorem ipsum italic. | ||
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. | 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. | ||
< | <span>Here is the coding</span> | ||
<p style="border:1px solid red; padding:5px"> | <p style="border:1px solid red; padding:5px"> | ||
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. <font color="red"><nowiki>< | 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. <font color="red"><nowiki><span style="font-style:etalic"></nowiki></font>Curabitur eleifend quis ligula ac ullamcorper<font color="red"><nowiki></p></nowiki></font>. Curabitur eget suscipit turpis. </span> | ||
*Make the last sentence both bold and italics. | *Make the last sentence both bold and italics. | ||
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'''''. | 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'''''. | ||
< | <span>Here is the coding</span> | ||
<div style="border:1px solid red; padding:5px"> | <div style="border:1px solid red; padding:5px"> | ||
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. <font color="red"><nowiki>< | 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. <font color="red"><nowiki><span style="font-weight:bold; font-style:etalic"></nowiki></font>Curabitur eget suscipit turpis<font color="red"><nowiki></span></nowiki></font>. </div> | ||
</div> | </div> | ||
Line 340: | Line 340: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*To make a sentence in bold text, you use the "text-weight:bold" attribute | *To make a sentence in bold text, you use the "text-weight:bold" attribute | ||
{{Block indent|B. False|2}} | |||
*To make a word italicized, you flank the "text-style:italic attribute | *To make a word italicized, you flank the "text-style:italic attribute | ||
{{Block indent|B. False|2}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Font Bold-Italics|Back to Font Bold-Italics]] | [[Help:Wiki University HTML-- Font Bold-Italics|Back to Font Bold-Italics]] | ||
Line 352: | Line 352: | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10px; font-family:Courier New"> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10px; font-family:Courier New"> | ||
<nowiki>< | <nowiki><span style="</nowiki><font color="red">font-family:arial; font-size:12px; color:red</font color>">Lorem ipsum ....<nowiki></span></nowiki> | ||
</div> | </div> | ||
</div> | </div> | ||
Line 359: | Line 359: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*Attributes are separated with? | *Attributes are separated with? | ||
{{Block indent|C. Semi-colon|2}} | |||
*How many attributes can you put in the paragraph tag? | *How many attributes can you put in the paragraph tag? | ||
{{Block indent|D. None of the above|2}} | |||
*How would you make a word italicized along with the three attribute changes to the paragraph? | *How would you make a word italicized along with the three attribute changes to the paragraph? | ||
{{Block indent|C. Flank the work with two apostrophes.|2}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Multi-attributes|Back to Multi-attributes]] | [[Help:Wiki University HTML-- Multi-attributes|Back to Multi-attributes]] | ||
Line 374: | Line 374: | ||
*What is the coding to change the color of the background of the lorem ipsum paragraph to green and the text to orange. | *What is the coding to change the color of the background of the lorem ipsum paragraph to green and the text to orange. | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>< | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><span style="</nowiki><font color="red">background-color:green; color:orange</font color>">lorem ipsum ....<nowiki></span></nowiki></div><br> | ||
< | <span style="background-color:green; color:orange">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.</span><br> | ||
*Create a paragraph of your favorite color for the background of the lorem ipsum paragraph and another color for the text from the list of colors. | *Create a paragraph of your favorite color for the background of the lorem ipsum paragraph and another color for the text from the list of colors. | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>< | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><span style="</nowiki><font color="red">background-color:red; color:gold</font color>">lorem ipsum ....<nowiki></span></nowiki></div><br> | ||
< | <span style="background-color:red; color:gold">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.</span> | ||
</div> | </div> | ||
Line 389: | Line 389: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*How to make text invisible on a page without erasing it. | *How to make text invisible on a page without erasing it. | ||
{{Block indent|C. All of the above.}} | |||
</div> | </div> | ||
Line 400: | Line 400: | ||
1. What is the coding to change the background color to light green with blue text and padding on the top and bottom of 20 pixels. | 1. What is the coding to change the background color to light green with blue text and padding on the top and bottom of 20 pixels. | ||
<br> | <br> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki>< | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><span style="</nowiki><font color="red">background-color:lightgreen; color:blue; padding-top:20px; padding-bottom:20px</font color>">Lorem ipsum .....<nowiki></span></nowiki></div><br> | ||
---- | ---- | ||
2. Copy our lorem ipsum paragraph twice with no background color and no text color but with a <font color="red">padding-bottom</font color> of the first paragraph of 100px. What happens to the space between the paragraphs?<br> | 2. Copy our lorem ipsum paragraph twice with no background color and no text color but with a <font color="red">padding-bottom</font color> of the first paragraph of 100px. What happens to the space between the paragraphs?<br> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New">< | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><span style="padding-bottom:100px">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.</span> | ||
< | <span>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.</span></div><br> | ||
*It widens by over 100 pixels. | *It widens by over 100 pixels. | ||
</div> | </div> | ||
Line 411: | Line 411: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*To have the text 20px from the left edge of the background what attribute do you use? | *To have the text 20px from the left edge of the background what attribute do you use? | ||
{{Block indent|C. padding-left:20px}} | |||
*To have the background 50px from all side of the text, what attribute do you use? | *To have the background 50px from all side of the text, what attribute do you use? | ||
{{Block indent|C. None of the above</div>}} | |||
[[Help:Wiki University HTML-- Padding|Back to Padding]] | [[Help:Wiki University HTML-- Padding|Back to Padding]] | ||
Line 434: | Line 434: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*The div tag and paragraph tag are both have built in margins. | *The div tag and paragraph tag are both have built in margins. | ||
{{Block indent|A. False}} | |||
*The attributes work the same way in the div tag as in the paragraph tag | *The attributes work the same way in the div tag as in the paragraph tag | ||
{{Block indent|A. True}} | |||
*Div tags put spaces between paragraphs | *Div tags put spaces between paragraphs | ||
{{Block indent|B. False</div>}} | |||
[[Help:Wiki University HTML-- Div Tag - Introduction|Back to Div Tag - Introduction]] | [[Help:Wiki University HTML-- Div Tag - Introduction|Back to Div Tag - Introduction]] | ||
Line 456: | Line 456: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*Margin-top only affects top of paragraph | *Margin-top only affects top of paragraph | ||
{{Block indent|A. True}} | |||
*Margin-left moves the paragraph to the right of the left side of the page | *Margin-left moves the paragraph to the right of the left side of the page | ||
{{Block indent|A. True}} | |||
*Margin-right moves the paragraph to the right of the right side of the of the page | *Margin-right moves the paragraph to the right of the right side of the of the page | ||
{{Block indent|B. False}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Margins|Back to Margins]] | [[Help:Wiki University HTML-- Margins|Back to Margins]] | ||
Line 482: | Line 482: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*You can only put borders on all sides. | *You can only put borders on all sides. | ||
{{Block indent|B. False|2}} | |||
*There is a default space between text and borders | *There is a default space between text and borders | ||
{{Block indent|B. False|2}} | |||
*Solid lines are all that is allowed in borders | *Solid lines are all that is allowed in borders | ||
{{Block indent|B. False|2}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Borders|Back to Borders]] | [[Help:Wiki University HTML-- Borders|Back to Borders]] | ||
Line 501: | Line 501: | ||
====Quick Quiz==== | ====Quick Quiz==== | ||
<div style="border:10px solid lightgray; padding:5px; ">*You can't use both width and height in a div tag | <div style="border:10px solid lightgray; padding:5px; ">*You can't use both width and height in a div tag | ||
{{Block indent|B. False|2}} | |||
*You can't use both width and height in a paragraph tag | *You can't use both width and height in a paragraph tag | ||
{{Block indent|B. False|2}} | |||
*You can use percentages in height attributes | *You can use percentages in height attributes | ||
{{Block indent|B. False</div>|2}} | |||
[[Help:Wiki University HTML-- Width and Height|Back to Width and Height]] | [[Help:Wiki University HTML-- Width and Height|Back to Width and Height]] | ||
Line 526: | Line 526: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*Text-align only works in header tags | *Text-align only works in header tags | ||
{{Block indent|B. False|2}} | |||
*Text-align cannot put a title to the left because that is the default position. | *Text-align cannot put a title to the left because that is the default position. | ||
{{Block indent|B. False|2}} | |||
*Text-align will work in header, paragraph and div tags | *Text-align will work in header, paragraph and div tags | ||
{{Block indent|A. True|2}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Alignment|Back to Alignment]] | [[Help:Wiki University HTML-- Alignment|Back to Alignment]] | ||
Line 598: | Line 598: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*Tables do not need a closing tag | *Tables do not need a closing tag | ||
{{Block indent|B. False}} | |||
*Rows must have a closing tag | *Rows must have a closing tag | ||
{{Block indent|A. True}} | |||
*Cells must have something in them for the table to be visible. | *Cells must have something in them for the table to be visible. | ||
{{Block indent|A. True}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Tables|Back to Tables]] | [[Help:Wiki University HTML-- Tables|Back to Tables]] | ||
Line 633: | Line 633: | ||
| Buckwheat | | Buckwheat | ||
|} | |} | ||
< | <span>Here is the coding in the opening table tag:</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><table </nowiki><font color="red"> style="border:15px ridge cornsilk"</font color>></div><br> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><table </nowiki><font color="red"> style="border:15px ridge cornsilk"</font color>></div><br> | ||
*Put a border for the whole table that is 15 pixels wide, "double" border with a border color of brown. | *Put a border for the whole table that is 15 pixels wide, "double" border with a border color of brown. | ||
Line 658: | Line 658: | ||
| Buckwheat | | Buckwheat | ||
|} | |} | ||
< | <span>Here is the coding:</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><table</nowiki><font color="red"><nowiki> style="border:15px double brown"</nowiki></font color>></div><br> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><nowiki><table</nowiki><font color="red"><nowiki> style="border:15px double brown"</nowiki></font color>></div><br> | ||
*Put a blue border around the cells in the first column 1 pixel thick. | *Put a blue border around the cells in the first column 1 pixel thick. | ||
Line 684: | Line 684: | ||
| Buckwheat | | Buckwheat | ||
|} | |} | ||
< | <span>Here is the coding:</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | ||
Line 720: | Line 720: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*Borders can only be on the outside of a table. | *Borders can only be on the outside of a table. | ||
{{Block indent|B. False}} | |||
*You can put borders around rows | *You can put borders around rows | ||
{{Block indent|B. False}} | |||
*You can put borders on columns | *You can put borders on columns | ||
{{Block indent|A. True}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Tables - Borders|Back to Tables - Borders]] | [[Help:Wiki University HTML-- Tables - Borders|Back to Tables - Borders]] | ||
Line 792: | Line 792: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*Putting the width in the first cell of a row determines the width of the first column in the table | *Putting the width in the first cell of a row determines the width of the first column in the table | ||
{{Block indent|A. True}} | |||
*The width of a table will be determined by the material in the cells, if you do not set the widths | *The width of a table will be determined by the material in the cells, if you do not set the widths | ||
{{Block indent|A. True}} | |||
*You can only set the width of a table in percentages | *You can only set the width of a table in percentages | ||
{{Block indent|B. False</div>}} | |||
[[Help:Wiki University HTML-- Tables - Widths|Back to Tables - Widths]] | [[Help:Wiki University HTML-- Tables - Widths|Back to Tables - Widths]] | ||
Line 870: | Line 870: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*The order of attributes is critical. | *The order of attributes is critical. | ||
{{Block indent|B. False}} | |||
*The caption can only be on the left side of the page | *The caption can only be on the left side of the page | ||
{{Block indent|B. False}} | |||
*Only margin-bottom of the caption will cause a separation between the caption and the table | *Only margin-bottom of the caption will cause a separation between the caption and the table | ||
{{Block indent|B. False</div>}} | |||
[[Help:Wiki University HTML-- Tables - Captions|Back to Tables - Captions]] | [[Help:Wiki University HTML-- Tables - Captions|Back to Tables - Captions]] | ||
Line 950: | Line 950: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*The headers are always centered on the column. | *The headers are always centered on the column. | ||
{{Block indent|B. False}} | |||
*You have to use the text-align to put the header on the left side | *You have to use the text-align to put the header on the left side | ||
{{Block indent|B. False}} | |||
*Headers are always in bold type. | *Headers are always in bold type. | ||
{{Block indent|A. True}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Tables - Column headings|Back to Tables - Column headings]] | [[Help:Wiki University HTML-- Tables - Column headings|Back to Tables - Column headings]] | ||
Line 995: | Line 995: | ||
| style="border:1px solid blue; "|Buckwheat | | style="border:1px solid blue; "|Buckwheat | ||
|} | |} | ||
< | <span>Here is the coding</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | ||
Line 1,035: | Line 1,035: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*Only the border-collaspe attribute is required to separate cell borders. | *Only the border-collaspe attribute is required to separate cell borders. | ||
{{Block indent|B. False}} | |||
*Padding attribute only pads on the left side of the text | *Padding attribute only pads on the left side of the text | ||
{{Block indent|B. False}} | |||
*The header font cannot be changed | *The header font cannot be changed | ||
{{Block indent|B. False}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Tables - Cells|Back to Tables - Rows]] | [[Help:Wiki University HTML-- Tables - Cells|Back to Tables - Rows]] | ||
Line 1,120: | Line 1,120: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*To make all the cells in column the same you need only put the code in the top cell | *To make all the cells in column the same you need only put the code in the top cell | ||
{{Block indent|B. False}} | |||
*Background color cannot be placed in cells through coding in row | *Background color cannot be placed in cells through coding in row | ||
{{Block indent|B. False}} | |||
*You can change the font-family in the rows | *You can change the font-family in the rows | ||
{{Block indent|A. True}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Tables - Rows|Back to Tables - Rows]] | [[Help:Wiki University HTML-- Tables - Rows|Back to Tables - Rows]] | ||
Line 1,170: | Line 1,170: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*Text will always float up to the right side of a table when placing a table on the page. | *Text will always float up to the right side of a table when placing a table on the page. | ||
{{Block indent|B. False}} | |||
*Text will float when you place a table on the right side of a page. | *Text will float when you place a table on the right side of a page. | ||
{{Block indent|A. True}} | |||
*You cannot place a table in the middle of the page. | *You cannot place a table in the middle of the page. | ||
{{Block indent|B. False}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Tables - Placement|Back to Tables - Placement]] | [[Help:Wiki University HTML-- Tables - Placement|Back to Tables - Placement]] | ||
Line 1,256: | Line 1,256: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*When you click the sorting icon, the sorting is permanent. | *When you click the sorting icon, the sorting is permanent. | ||
{{Block indent|B. False}} | |||
*When you add items to a table, you need to insert the item in the table where it is supposed to go if you want your table in alphabetical order even with the sorting class applied. | *When you add items to a table, you need to insert the item in the table where it is supposed to go if you want your table in alphabetical order even with the sorting class applied. | ||
{{Block indent|B. False}} | |||
*Sorting will revert back to the original order if you leave the page the table is on. | *Sorting will revert back to the original order if you leave the page the table is on. | ||
{{Block indent|A. True}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Tables - Sorting|Back to Tables - Sorting]] | [[Help:Wiki University HTML-- Tables - Sorting|Back to Tables - Sorting]] | ||
Line 1,299: | Line 1,299: | ||
|} | |} | ||
</div><br> | </div><br> | ||
< | <span>Here is the coding:</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><div style="overflow:scroll; width:400px; height:400px; "></nowiki></font color><br> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"><font color="red"><nowiki><div style="overflow:scroll; width:400px; height:400px; "></nowiki></font color><br> | ||
<nowiki><table style="border:1px solid red; width:900px; height:900px"></nowiki><br> | <nowiki><table style="border:1px solid red; width:900px; height:900px"></nowiki><br> | ||
Line 1,315: | Line 1,315: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*When creating the horizontal scroll bar, you do not have to set the width. | *When creating the horizontal scroll bar, you do not have to set the width. | ||
{{Block indent|B. False}} | |||
*Vertically scroll bars are only useful for very tall tables. | *Vertically scroll bars are only useful for very tall tables. | ||
{{Block indent|A. True}} | |||
*You cannot have horizontal and vertical scroll bars at the same time. | *You cannot have horizontal and vertical scroll bars at the same time. | ||
{{Block indent|B. False}} | |||
</div> | </div> | ||
Line 1,398: | Line 1,398: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*To have a list of items in six columns you need to create a table with one row and six cells. | *To have a list of items in six columns you need to create a table with one row and six cells. | ||
{{Block indent|B. True}} | |||
*A one row table looks better if the columns are of equal length. | *A one row table looks better if the columns are of equal length. | ||
{{Block indent|A. True}} | |||
*To make the items on separate lines, you use <nowiki><p></nowiki> tags only. | *To make the items on separate lines, you use <nowiki><p></nowiki> tags only. | ||
{{Block indent|B. False</div>}} | |||
[[Help:Wiki University HTML-- Tables - Columns Only|Back to Tables - Columns Only]] | [[Help:Wiki University HTML-- Tables - Columns Only|Back to Tables - Columns Only]] | ||
Line 1,434: | Line 1,434: | ||
|} | |} | ||
< | <span>Here is the coding</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | ||
<nowiki><table style="border:1px solid red; width:100%"></nowiki><br> | <nowiki><table style="border:1px solid red; width:100%"></nowiki><br> | ||
Line 1,470: | Line 1,470: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*Colspans must equal the number of cells in the next row. | *Colspans must equal the number of cells in the next row. | ||
{{Block indent|A. True}} | |||
*If you have a row with four cells you can have in the preceding row one cell with a colspan="3" plus the remaining cell. | *If you have a row with four cells you can have in the preceding row one cell with a colspan="3" plus the remaining cell. | ||
{{Block indent|A. True}} | |||
*If you have a row of seven cells you can have in the preceding row one cell with a colspan="2", the next cell with a colspan="3" and the remaining cell with a colspan="2". | *If you have a row of seven cells you can have in the preceding row one cell with a colspan="2", the next cell with a colspan="3" and the remaining cell with a colspan="2". | ||
{{Block indent|A. True}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Tables - Columns Only|Back to Tables - Column Spans]] | [[Help:Wiki University HTML-- Tables - Columns Only|Back to Tables - Column Spans]] | ||
Line 1,483: | Line 1,483: | ||
*Merge the cells with Barley and Buckwheat in them. | *Merge the cells with Barley and Buckwheat in them. | ||
*Merge the cells with Peas, Carrots and Corn in them. | *Merge the cells with Peas, Carrots and Corn in them. | ||
< | <span>Here is what the table should look like:</span> | ||
{| style="border:1px solid red; width:100%; " | {| style="border:1px solid red; width:100%; " | ||
|+ style="font-size:14px; text-align:center; " | Healthy Foods | |+ style="font-size:14px; text-align:center; " | Healthy Foods | ||
Line 1,510: | Line 1,510: | ||
|} | |} | ||
< | <span>Here is the coding:</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | ||
<nowiki><table style="border:1px solid red; width:100%"></nowiki><br> | <nowiki><table style="border:1px solid red; width:100%"></nowiki><br> | ||
Line 1,548: | Line 1,548: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*If you are going to merge three cells in a column, you must delete the number of cells in the column under the cell to be marged to equal the number call for in the rowspan code minus one. | *If you are going to merge three cells in a column, you must delete the number of cells in the column under the cell to be marged to equal the number call for in the rowspan code minus one. | ||
{{Block indent|A. True}} | |||
*If you want to merge two cells that are under each other in a column, you delete the cell next it in the row. | *If you want to merge two cells that are under each other in a column, you delete the cell next it in the row. | ||
{{Block indent|B. False}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Tables - Row Spans|Back to Table - Row Spans]] | [[Help:Wiki University HTML-- Tables - Row Spans|Back to Table - Row Spans]] | ||
Line 1,562: | Line 1,562: | ||
*Center the name of the organization and the image in their cells. | *Center the name of the organization and the image in their cells. | ||
*Make the items in the right hand cells into parameters. | *Make the items in the right hand cells into parameters. | ||
< | <span>Your coding should look like this:</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | ||
Line 1,594: | Line 1,594: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*Parameters have two opening and closing curly brackets surrounding them. | *Parameters have two opening and closing curly brackets surrounding them. | ||
{{Block indent|A. False}} | |||
*Infoboxes are usually located at the top of the page on the right side. | *Infoboxes are usually located at the top of the page on the right side. | ||
{{Block indent|A. True}} | |||
*Infoboxes are saved just like other templates, but it is good practice to include the word "infobox" in the title. | *Infoboxes are saved just like other templates, but it is good practice to include the word "infobox" in the title. | ||
{{Block indent|A. True}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML--Infobox - Creating|Back to Infobox - Creating]] | [[Help:Wiki University HTML--Infobox - Creating|Back to Infobox - Creating]] | ||
Line 1,607: | Line 1,607: | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
< | <span>Here is the coding:</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | ||
<nowiki>{{Infobox U.S. County</nowiki><br> | <nowiki>{{Infobox U.S. County</nowiki><br> | ||
Line 1,624: | Line 1,624: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*Once the information after the equal signs is entered and saved, there is no changing the parameters. | *Once the information after the equal signs is entered and saved, there is no changing the parameters. | ||
{{Block indent|B. False|2}} | |||
*Infoboxes can only be used on county pages. | *Infoboxes can only be used on county pages. | ||
{{Block indent|B. False|2}} | |||
*Infoboxes are limited just to genealogical organizations. | *Infoboxes are limited just to genealogical organizations. | ||
{{Block indent|B. False|2}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML--Infobox - Placing|Back to Infobox - Placing]] | [[Help:Wiki University HTML--Infobox - Placing|Back to Infobox - Placing]] | ||
Line 1,637: | Line 1,637: | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
< | <span>Here is the coding:</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | ||
Line 1,672: | Line 1,672: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*If nothing is entered for a parameter, there will still be a space where the parameter would normally appear. | *If nothing is entered for a parameter, there will still be a space where the parameter would normally appear. | ||
{{Block indent|B. False|2}} | |||
*The "If function" allows you to create more complete infoboxes, but you do have to worry about them being too large and take up a lot of space if the subject to be posted in the infobox is small. | *The "If function" allows you to create more complete infoboxes, but you do have to worry about them being too large and take up a lot of space if the subject to be posted in the infobox is small. | ||
{{Block indent|B. False|2}} | |||
*It does not matter whether you use regular pipes or <nowiki>{{!}}</nowiki> in infoboxes with if functions. | *It does not matter whether you use regular pipes or <nowiki>{{!}}</nowiki> in infoboxes with if functions. | ||
{{Block indent|B. False|2}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML--Infobox - If functions|Back to If functions]] | [[Help:Wiki University HTML--Infobox - If functions|Back to If functions]] | ||
Line 1,686: | Line 1,686: | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
< | <span>Here is the coding:</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | ||
<nowiki>{{Infobox U.S. County</nowiki><br> | <nowiki>{{Infobox U.S. County</nowiki><br> | ||
Line 1,702: | Line 1,702: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*Once the information after the equal signs is entered and saved, there is no changing the parameters. | *Once the information after the equal signs is entered and saved, there is no changing the parameters. | ||
{{Block indent|B. False}} | |||
*Infoboxes can only be used on county pages. | *Infoboxes can only be used on county pages. | ||
{{Block indent|B. False}} | |||
*Infoboxes are limited just to genealogical organizations. | *Infoboxes are limited just to genealogical organizations. | ||
{{Block indent|B. False}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML--Sidebars|Back to Sibebars]] | [[Help:Wiki University HTML--Sidebars|Back to Sibebars]] | ||
Line 1,718: | Line 1,718: | ||
*For Counties use the first 5 counties from the [[Anhalt_-_Herzogtum_(duchy)]] navbox at the bottom of the page. | *For Counties use the first 5 counties from the [[Anhalt_-_Herzogtum_(duchy)]] navbox at the bottom of the page. | ||
*Change the parameter to country. | *Change the parameter to country. | ||
< | <span>Here's what it should look like:</span> | ||
{| style="width:100%; border:1px solid black; border-collaspe:separate; border-spacing:5px; " | {| style="width:100%; border:1px solid black; border-collaspe:separate; border-spacing:5px; " | ||
|- | |- | ||
Line 1,729: | Line 1,729: | ||
| style="background-color:lightblue; " | [[Anhalt - Herzogtum (duchy) Genealogy|Anhalt]]{{·}} [[Baden Grossherzogtum (grand duchy) Genealogy|Baden]]{{·}} [[Bayern (Bavaria) – Königreich (kingdom) Genealogy|Bayern]]{{·}} [[Braunschweig (Brunswick) – Herzogtum (duchy) Genealogy|Braunschweig]]{{·}} [[Bremen, Germany Genealogy|Bremen]] | | style="background-color:lightblue; " | [[Anhalt - Herzogtum (duchy) Genealogy|Anhalt]]{{·}} [[Baden Grossherzogtum (grand duchy) Genealogy|Baden]]{{·}} [[Bayern (Bavaria) – Königreich (kingdom) Genealogy|Bayern]]{{·}} [[Braunschweig (Brunswick) – Herzogtum (duchy) Genealogy|Braunschweig]]{{·}} [[Bremen, Germany Genealogy|Bremen]] | ||
|} | |} | ||
< | <span>Here's what the code should look like:</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | ||
<nowiki>{| style="width:100%; border:1px solid black; border-collaspe:separate; border-spacing:5px; "</nowiki><br> | <nowiki>{| style="width:100%; border:1px solid black; border-collaspe:separate; border-spacing:5px; "</nowiki><br> | ||
Line 1,746: | Line 1,746: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*Navboxes should not include items that could be in a sidebar. | *Navboxes should not include items that could be in a sidebar. | ||
{{Block indent|A. True|2}} | |||
*Navboxes are usually placed at the top of the page. | *Navboxes are usually placed at the top of the page. | ||
{{Block indent|B. False|2}} | |||
*Navboxes are limited to less than 200 pixels in width. | *Navboxes are limited to less than 200 pixels in width. | ||
{{Block indent|B. False|2}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML--Navboxes|Back to Navboxes]] | [[Help:Wiki University HTML--Navboxes|Back to Navboxes]] | ||
Line 1,758: | Line 1,758: | ||
*Place a "relative" positioned object that is 300 pixels wide and 100 pixels high between the third and fourth sentence of our Lorem ipsum paragraph. | *Place a "relative" positioned object that is 300 pixels wide and 100 pixels high between the third and fourth sentence of our Lorem ipsum paragraph. | ||
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.<div style="position:relative; width:300px; height:100px"></div> Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.<br><br> | 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.<div style="position:relative; width:300px; height:100px"></div> Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.<br><br> | ||
< | <span>Here is the coding:</span> | ||
<div style="border:2px solid crimson; background-color:moccasinpadding:10px; width:97%; font-size:10pt; font-family:Courier New">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.<font color="red"><nowiki><div style="position:relative;</nowiki></font color><font color="red"> width:300px; height:100px"></font color><font color="red"><nowiki></div></nowiki></font color>Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.</div> | <div style="border:2px solid crimson; background-color:moccasinpadding:10px; width:97%; font-size:10pt; font-family:Courier New">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.<font color="red"><nowiki><div style="position:relative;</nowiki></font color><font color="red"> width:300px; height:100px"></font color><font color="red"><nowiki></div></nowiki></font color>Fusce elementum efficitur faucibus. Curabitur eleifend quis ligula ac ullamcorper. Curabitur eget suscipit turpis.</div> | ||
---- | ---- | ||
Line 1,767: | Line 1,767: | ||
**that is 200 pixels high. | **that is 200 pixels high. | ||
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.<div style="position:relative; width 100%; height:200px; background-color:blue; border:5px solid red"></div><br> | 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.<div style="position:relative; width 100%; height:200px; background-color:blue; border:5px solid red"></div><br> | ||
< | <span>Here is the coding:</span> | ||
<div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | <div style="border:2px solid crimson; background-color:moccasin; padding:10px; width:97%; font-size:10pt; font-family:Courier New"> | ||
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.<font color="red"><nowiki><div style="position:relative;</nowiki></font color><font color="red"> width:100%; height:200px; background-color:blue; border:5px solid red"></font color><font color="red"><nowiki></div></nowiki></font color></div> | 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.<font color="red"><nowiki><div style="position:relative;</nowiki></font color><font color="red"> width:100%; height:200px; background-color:blue; border:5px solid red"></font color><font color="red"><nowiki></div></nowiki></font color></div> | ||
Line 1,775: | Line 1,775: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*Relative positioning places objects in relation to the edge and top of the page. | *Relative positioning places objects in relation to the edge and top of the page. | ||
{{Block indent|B. False|2}} | |||
*Relative positioning does not cover objects placed before it was. | *Relative positioning does not cover objects placed before it was. | ||
{{Block indent|B. False|2}} | |||
*Relative positioning covers up all objects covered after it was placed. | *Relative positioning covers up all objects covered after it was placed. | ||
{{Block indent|B. False|2}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Position - Relative|Back to Position - Relative]] | [[Help:Wiki University HTML-- Position - Relative|Back to Position - Relative]] | ||
Line 1,817: | Line 1,817: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*Absolute positioning places objects in relation to the edge and top of the page. | *Absolute positioning places objects in relation to the edge and top of the page. | ||
{{Block indent|A. True|2}} | |||
*Absolute positioning does not cover objects placed before it was. | *Absolute positioning does not cover objects placed before it was. | ||
{{Block indent|B. False|2}} | |||
*Absolute positioning covers up all objects that follow it. | *Absolute positioning covers up all objects that follow it. | ||
{{Block indent|A. True|2}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Position - Absolute|Back to Position - Absolute]] | [[Help:Wiki University HTML-- Position - Absolute|Back to Position - Absolute]] | ||
Line 1,873: | Line 1,873: | ||
<div style="border:10px solid lightgray; padding:5px; "> | <div style="border:10px solid lightgray; padding:5px; "> | ||
*If I want to copy the name of the article someplace in the article, you would use <nowiki>[[NAMESPACE]]</nowiki> | *If I want to copy the name of the article someplace in the article, you would use <nowiki>[[NAMESPACE]]</nowiki> | ||
{{Block indent|A. True}} | |||
*To recover something you may have deleted accidentally, you would hit the control key and the D key. | *To recover something you may have deleted accidentally, you would hit the control key and the D key. | ||
{{Block indent|B. False ''(Control + Z)''}} | |||
*To search for a word in an article, you would hit the control key and the S key. | *To search for a word in an article, you would hit the control key and the S key. | ||
{{Block indent|B. False ''(Control + F)''}} | |||
*To highlight an entire page, you would bit the Control and W key | *To highlight an entire page, you would bit the Control and W key | ||
{{Block indent|B. False ''(Control + A)''}} | |||
*If you want exhibit code in an article, you would use opening and closing noinclude tags. | *If you want exhibit code in an article, you would use opening and closing noinclude tags. | ||
{{Block indent|B. False ''(<nowiki><nowiki> ..... </nowiki></nowiki>)''}} | |||
</div> | </div> | ||
[[Help:Wiki University HTML-- Misc|Back to Misc]] | [[Help:Wiki University HTML-- Misc|Back to Misc]] | ||
[[Category:HTML Lessons]] | [[Category:HTML Lessons]] |
Latest revision as of 12:52, 19 August 2025
Home[edit | edit source]
- What is CSS?
- What is HTML?
- What is the left sidebar for?
Introduction[edit | edit source]
- The forward slash / is used in
- Tags are easy to see on pages in the Wiki
- Two monitors are always better than one
Headers[edit | edit source]
Exercises[edit | edit source]
Kentucky[edit | edit source]
History[edit | edit source]
Vital Records[edit | edit source]
Birth Certificates[edit | edit source]
Here's the coding:
- <h1>Kentucky Genealogy</h1>
- <h2>History</h2>
- <h2>Vital Records</h2>
- <h3>Birth Certificates</h3>
Quick Quiz[edit | edit source]
- We don't use Header Ones in FamilySearch Wiki articles
- Header Five and Six are rairly used
- Header Two work well in FamilySearch WIki
- Avoid using Header Three and Header Four in articles
Lists[edit | edit source]
Exercises[edit | edit source]
- Coding for unordered list:
<ul>
<li>Birth Certificates</li>
<li>Land Records</li>
<li>Probate Records</li>
<li>Census</li>
<li>Vital Records</li>
- This is how the unordered lists will appear:
- Coding for ordered list:
<ol>
<li>World</li>
<li>North America</li>
<li>United States of America</li>
<li>State of Missouri</li>
<li>Jackson County</li>
<li>Independence</li>
- This is how the ordered list will appear:
- World
- North America
- United States of America
- State of Missouri
- Jackson County
- Independence
Quick Quiz[edit | edit source]
- If you have a cooking recipe, which list would you use to show the steps?
- If you were listing your favorite foods in order of preference, which lists would you use?
- If you were listing the contents of your pockets, which list would you use?
Nested Lists[edit | edit source]
To practice nesting unordered lists, in your sandbox create an list with the following items: Fruits, Vegetables, Nuts and Grains. In between each item list three varieties.
Here is the coding you should have entered:
<ul>
</ul>Here's how the links would look on a page:
- Fruits
- Apples
- Pears
- Oranges
- Vegetables
- Peas
- Carrots
- Corn
- Nuts
- Walnuts
- Peanuts
- Almonds
- Grains
- Wheat
- Soybeans
- Barley
- If you were nesting a list of states in no particular order in a list of countries, which list would you use?:
- If you were nesting a list of states by size in a list of countries by size, which lists would you use?
Comments[edit | edit source]
Exercises[edit | edit source]
- Your wording of the comments is as good as anyone else's. Whatever makes sense to you is ok.
=== Newspapers ===
*[http://www.kirksvilledailyexpress.com/ Kirksville Daily Express]
*[http://chroniclingamerica.loc.gov/lccn/sn89066097/ click here to see past issues of Kirksville, Missouri Newspaper Archives]
=== Libraries and Museums ===
[http://www.atsu.edu/atsmlib/ A T Still Memorial Library]
600 W Jefferson St. Kirksville, MO
(660) 626-2345
[http://library.truman.edu/ Pickler Memorial Library - Turman State University]
100 E Normal St. Kirksville, MO
(660) 785-4000
Adair County Public Library
1 Library Ln. Kirksville, MO
(660) 785-4051
=== Societies ===
*[http://www.adairchs.org/ Adair County Historical Society]
*[http://www.adairchs.org/FAMILY_HISTORY_ADAIR.pdf Search Your Family History in Adair Co. MO]
*[https://familysearch.org/wiki/en/Special:Search?
fulltext=true&search=Kirksville+Missouri+Family+History+Center FamilySearch Center]</nowiki>
==== Town Clerk ====
*[http://www.kirksvillecity.com/ Kirksville City Website]
=== City Directories ===
[http://library.truman.edu/books/eBook%20Collections.asp Truman State University]
Quick Quiz[edit | edit source]
- How many comments can you insert on page?
- How many words can you put in a comment?
- Where can you insert comments?
Paragraphs[edit | edit source]
Exercises[edit | edit source]
- Grab a paragraph from a page in the Wiki and paste it three times in your sandbox. Separate the paragraphs with two <br> between each one.
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.
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.
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.
- Then with the same paragraph put <span> and </span> between each one.
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. 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. 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.
- Notice the spacing between the paragraphs is almost the same in both problems. However, the paragraph tag allows you to make changes to the paragraph whereas the <br> will not and which we will cover in the next chapter.
Quick Quiz[edit | edit source]
- When you load paragraphs, using the enter button will automatically put spaces between them.
- It is better to use <br> than <p> in separating paragraphs.
- A <p> does not require an ending tag for the paragraphs to separate like the <br>
Changing Fonts[edit | edit source]
Exercises[edit | edit source]
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.
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.
Quick Quiz[edit | edit source]
- How many attributes can you put in the paragraph tag?
- What symbol do you use to separate a property from a value?
Font Size[edit | edit source]
Exercises[edit | edit source]
- Enlarge the lorem ipsum paragraph to 20px.
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.
- Enlarge a header to 36px.
Header
Quick Quiz[edit | edit source]
- You can add the "font-size" attribute between the = sign and the words of the header
Font Colors[edit | edit source]
Exercises[edit | edit source]
- Change the lorem ipsum paragraph text to a color on this list.
- Change the color of a header.
Quick Quiz[edit | edit source]
- You can use any name that is common to everyone for a color.
- If the HEX number does not work in the code you may have:
- You have to use the header tags to color headers
Font Bold-Italics[edit | edit source]
Exercises[edit | edit source]
- Make the first sentence bold.
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.
Here is the coding:
<span style="font-weight:bold">Lorum ipsum dolor sit amet, consectetur adipiscing elit.</p> 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.
- Make the next to the last sentence of lorem ipsum italic.
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. <span style="font-style:etalic">Curabitur eleifend quis ligula ac ullamcorper</p>. Curabitur eget suscipit turpis.
- Make the last sentence both bold and italics.
Quick Quiz[edit | edit source]
- To make a sentence in bold text, you use the "text-weight:bold" attribute
- To make a word italicized, you flank the "text-style:italic attribute
Multi-attributes[edit | edit source]
Exercises[edit | edit source]
<span style="font-family:arial; font-size:12px; color:red">Lorem ipsum ....</span>
Quick Quiz[edit | edit source]
- Attributes are separated with?
- How many attributes can you put in the paragraph tag?
- How would you make a word italicized along with the three attribute changes to the paragraph?
Backgrounds[edit | edit source]
Exercises[edit | edit source]
- What is the coding to change the color of the background of the lorem ipsum paragraph to green and the text to orange.
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.
- Create a paragraph of your favorite color for the background of the lorem ipsum paragraph and another color for the text from the list of colors.
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.
Quick Quiz[edit | edit source]
- How to make text invisible on a page without erasing it.
Padding[edit | edit source]
Exercises[edit | edit source]
1. What is the coding to change the background color to light green with blue text and padding on the top and bottom of 20 pixels.
2. Copy our lorem ipsum paragraph twice with no background color and no text color but with a padding-bottom of the first paragraph of 100px. What happens to the space between the paragraphs?
- It widens by over 100 pixels.
Quick Quiz[edit | edit source]
- To have the text 20px from the left edge of the background what attribute do you use?
- To have the background 50px from all side of the text, what attribute do you use?
Div Tag - Introduction[edit | edit source]
Exercises[edit | edit source]
- Copy our lorem ipsum paragraphs twice with the first one with a background color of moccasin and the second one with a color crimson, both with a padding of 20 pixels, but using div tags instead of paragraph tags:
Back to Div Tag - Introduction
Quick Quiz[edit | edit source]
- The div tag and paragraph tag are both have built in margins.
- The attributes work the same way in the div tag as in the paragraph tag
- Div tags put spaces between paragraphs
Back to Div Tag - Introduction
Margins[edit | edit source]
Exercises[edit | edit source]
1. What is the coding to change our lorem ipsum paragraph in your sandbox with a background color of light green with Purple text and a margin on the bottom of 40 pixels.
2. what is the code to change our lorem Ipsum paragraph in your sandbox with a background color of light blue with white text and a margin on the top of 20 pixels.
Quick Quiz[edit | edit source]
- Margin-top only affects top of paragraph
- Margin-left moves the paragraph to the right of the left side of the page
- Margin-right moves the paragraph to the right of the right side of the of the page
Borders[edit | edit source]
Exercises[edit | edit source]
- Using a div tag put a border around our lorem ipsum paragraph of a "groove" type that is 10 pixels thick with whatever color you like.
- Here is the coding:
- Using a div tag put a border around our lorem ipsum paragraph of a "ridge" type that is 15 pixels thick with whatever color you like:
- Here is the coding:
Quick Quiz[edit | edit source]
- You can only put borders on all sides.
- There is a default space between text and borders
- Solid lines are all that is allowed in borders
Width and Height[edit | edit source]
Exercises[edit | edit source]
In your sandbox put the lorem ipsum in a div tag container with a width of 200 pixels and a height of 400 pixels.
Here is the coding:
Quick Quiz[edit | edit source]
- You can't use both width and height in a paragraph tag
- You can use percentages in height attributes
Alignment[edit | edit source]
Exercises[edit | edit source]
- Take this title: "I Love Wikitext" and put it on the center of the page.
- Take this title: "I Love Wikitext" and put it on the right side of the page.
- Take this title: "I Love Wikitext" and put it on the left of the page.
Quick Quiz[edit | edit source]
- Text-align only works in header tags
- Text-align cannot put a title to the left because that is the default position.
- Text-align will work in header, paragraph and div tags
Tables[edit | edit source]
Exercises[edit | edit source]
- Create a table with four rows and four cells in each row.
- In the first column list four fruits.
- In the second column, four vegetables.
- In the third column, four nuts.
- In the fourth colomn, four grains.
- This table will be the basis for all future exercises on tables. (Be careful we are talking about columns not rows. This exercise will teach you how to arrange items in columns.)
Here is the table with its columns:
Apples | Peas | Peanuts | Wheat |
Pears | Carrots | Walnuts | Oats |
Cherries | Corn | Cashews | Barley |
Oranges | Beans | Almonds | Buckwheat |
Here is the coding:
<table>
<tr>
<td>Apples</td>
<td>Peas</td>
<td>Peanuts</td>
<td>Wheat</td>
<tr>
</tr>
<td>Pears</td>
<td>Carrots</td>
<td>Walnuts</td>
<td>Oats</td>
<tr>
</tr>
<td>Cherries</td>
<td>Corn</td>
<td>Cashews</td>
<td>Barley</td>
<tr>
</tr>
<td>Oranges</td>
<td>Beans</td>
<td>Almonds</td>
<td>Buckwheat</td>
</tr>
Quick Quiz[edit | edit source]
- Tables do not need a closing tag
- Rows must have a closing tag
- Cells must have something in them for the table to be visible.
Tables - Borders[edit | edit source]
Exercise[edit | edit source]
- With your table from the previous exercise, put a 15 pixel "ridge" border with a border color of "cornsilk."
Apples | Peas | Peanuts | Wheat |
Pears | Carrots | Walnuts | Oats |
Cherries | Corn | Cashews | Barley |
Oranges | Beans | Almonds | Buckwheat |
Here is the coding in the opening table tag:
- Put a border for the whole table that is 15 pixels wide, "double" border with a border color of brown.
Apples | Peas | Peanuts | Wheat |
Pears | Carrots | Walnuts | Oats |
Cherries | Corn | Cashews | Barley |
Oranges | Beans | Almonds | Buckwheat |
Here is the coding:
- Put a blue border around the cells in the first column 1 pixel thick.
- NOTICE no pipe after the attribute.
Apples | Peas | Peanuts | Wheat |
Pears | Carrots | Walnuts | Oats |
Cherries | Corn | Cashews | Barley |
Oranges | Beans | Almonds | Buckwheat |
Here is the coding:
<table style="border:15px double brown">
<tr>
<td style="border:1px solid blue">Apples</td>
<td>Peas</td>
<td>Peanuts</td>
<td>Wheat</td>
<tr>
</tr>
<td style="border:1px solid blue">Pears</td>
<td>Carrots</td>
<td>Walnuts</td>
<td>Oats</td>
<tr>
</tr>
<td style="border:1px solid blue">Cherries</td>
<td>Corn</td>
<td>Cashews</td>
<td>Barley</td>
<tr>
</tr>
<td style="border:1px solid blue">Oranges</td>
<td>Beans</td>
<td>Almonds</td>
<td>Buckwheat</td>
</tr>
Quick Quiz[edit | edit source]
- Borders can only be on the outside of a table.
- You can put borders around rows
- You can put borders on columns
Tables - Widths[edit | edit source]
Exercises[edit | edit source]
- With our above table place a green border, "inset" style and 25 pixels wide.
- Make the table 90% in width.
- Next place a 1 pixel green border around the cells in the first row.
- Make the first column 35 percent width, the second 15%, the third 25% and let the last column determine its own width.
Apples | Peas | Peanuts | Wheat |
Pears | Carrots | Walnuts | Oats |
Cherries | Corn | Cashews | Barley |
Oranges | Beans | Almonds | Buckwheat |
- Here is the coding:
<table style="border:25px inset green; width:90%">
<tr>
<td style="border:1px solid green; width:35%">Apples</td>
<td style="border:1px solid green; width:15%">Peas</td>
<td style="border:1px solid green; width:25%">Peanuts</td>
<td style="border:1px solid green">Wheat</td>
<tr>
</tr>
<td>Pears</td>
<td>Carrots</td>
<td>Walnuts</td>
<td>Oats</td>
<tr>
</tr>
<td>Cherries</td>
<td>Corn</td>
<td>Cashews</td>
<td>Barley</td>
<tr>
</tr>
<td>Orange</td>
<td>Beans</td>
<td>Almonds</td>
<td>Buckwheat</td>
</tr>
</table>
Quick Quiz[edit | edit source]
- Putting the width in the first cell of a row determines the width of the first column in the table
- The width of a table will be determined by the material in the cells, if you do not set the widths
- You can only set the width of a table in percentages
Tables - Captions[edit | edit source]
Exercises[edit | edit source]
- With our above table place a orange border, "outset" style and 25 pixels thick.
- Make the table 85% in width.
- Next place a orange border around the cells in the first column.
- Make the columns the same width.
- Install our Healthy Foods caption;
- Font - Curlz MT
- Font - 28pt
- Center caption
- 20 pixel space between caption and top of table
Here is what it should look like:
Apples | Peas | Peanuts | Wheat |
Pears | Carrots | Walnuts | Oats |
Cherries | Corn | Cashews | Barley |
Orange | Beans | Almonds | Buckwheat |
- Here is the coding:
<table style="border:25px outset orange; width:85%">
<caption style="font-size:28pt; text-align:center; margin-bottom:20px; font-family:Curlz MT">Healthy Foods</caption>
<tr>
<td style="border:1px solid orange; width:25%">Apples</td>
<td style="width:25%">Peas</td>
<td style="width:25%">Peanuts</td>
<td style="width:25%">Wheat</td>
<tr>
</tr>
<td style="border:1px solid orange; width:25%">Pears</td>
<td> Carrots</td>
<td> Walnuts</td>
<td> Oats</td>
<tr>
</tr>
<td style="border:1px solid orange; width:25%">Cherries</td>
<td> Corn</td>
<td> Cashews</td>
<td> Barley</td>
<tr>
</tr>
<td style="border:1px solid orange; width:25%">Orange</td>
<td> Beans</td>
<td> Almonds</td>
<td> Buckwheat</td>
</tr>
Quick Quiz[edit | edit source]
- The order of attributes is critical.
- The caption can only be on the left side of the page
- Only margin-bottom of the caption will cause a separation between the caption and the table
Tables - Column headings[edit | edit source]
Exercise[edit | edit source]
- With our above table place a orange border, "dashed" style and 10 pixels thick.
- Make the table 500 pixels wide.
- Next place a blue border around the headers.
- Install our Healthy Foods caption with any font;
- Install the headers for each of the columns.
- Install a lightblue background color for the headers.
Should look like this:
Fruits | Vegetable | Nuts | Grains |
---|---|---|---|
Apples | Peas | Peanuts | Wheat |
Pears | Carrots | Walnuts | Oats |
Cherries | Corn | Cashews | Barley |
Oranges | Beans | Almonds | Buckwheat |
- Here is the coding:
<table style="border:10px dashed orange; width:500px">
<caption style="font-size:28pt; text-align:center; margin-bottom:20px; font-family:times new roman">Healthy Foods</td>
<tr>
<th style="border:1px solid blue; text-align:center; width:25%; background-color:lightblue">Fruits</td>
<th style="border:1px solid blue; text-align:center; width:25%; background-color:lightblue">Vegetable</td>
<th style="border:1px solid blue; text-align:center; width:25%; background-color:lightblue">Nuts</td>
<th style="border:1px solid blue; text-align:center; width:25%; background-color:lightblue">Grains</td>
<tr>
</tr>
<td>Pears</td>
<td>Carrots</td>
<td>Walnuts</td>
<td>Oats</td>
<tr>
</tr>
<td>Cherries</td>
<td>Corn</td>
<td>Cashews</td>
<td>Barley</td>
<tr>
</tr>
<td>Orange</td>
<td>Beans</td>
<td>Almonds</td>
<td>Buckwheat</td>
</tr>
Quick Quiz[edit | edit source]
- The headers are always centered on the column.
- You have to use the text-align to put the header on the left side
- Headers are always in bold type.
Back to Tables - Column headings
Tables - Cells[edit | edit source]
Exercises[edit | edit source]
- With our above table place a black border, "dotted" style and 5 pixels thick.
- Make the table 600 pixels wide.
- Next place a blue border around all the cells.
- Place 5 pixels of padding in the header row of cells
- Separate all the cells with 5 pixels.
- Place a lightblue background on the column headers.
Fruits | Vegetable | Nuts | Grains |
---|---|---|---|
Apples | Peas | Peanuts | Wheat |
Pears | Carrots | Walnuts | Oats |
Cherries | Corn | Cashews | Barley |
Orange | Beans | Almonds | Buckwheat |
Here is the coding
<table style="border:5px dotted black; width:600px; border-spacing:5px">
<tr>
<th style="border:1px solid blue; text-align:center; padding:5px; background-color:lightblue">Fruits</th>
<th style="border:1px solid blue; text-align:center; padding:5px; background-color:lightblue">Vegetable</th>
<th style="border:1px solid blue; text-align:center; padding:5px; background-color:lightblue">Nuts</th>
<th style="border:1px solid blue; text-align:center; padding:5px; background-color:lightblue">Grains</th>
</tr>
<tr>
<td style="border:1px solid blue">Apples</td>
<td style="border:1px solid blue">Peas</td>
<td style="border:1px solid blue">Peanuts</td>
<td style="border:1px solid blue">Wheat</td>
<tr>
</tr>
<td style="border:1px solid blue">Pears</td>
<td style="border:1px solid blue">Carrots</td>
<td style="border:1px solid blue">Walnuts</td>
<td style="border:1px solid blue">Oats</td>
<tr>
</tr>
<td style="border:1px solid blue">Cherries</td>
<td style="border:1px solid blue">Corn</td>
<td style="border:1px solid blue">Cashews</td>
<td style="border:1px solid blue">Barley</td>
<tr>
</tr>
<td style="border:1px solid blue">Orange</td>
<td style="border:1px solid blue">Beans</td>
<td style="border:1px solid blue">Almonds</td>
<td style="border:1px solid blue">Buckwheat</td>
</tr>
Quick Quiz[edit | edit source]
- Only the border-collaspe attribute is required to separate cell borders.
- Padding attribute only pads on the left side of the text
- The header font cannot be changed
Tables - Rows[edit | edit source]
Exercises[edit | edit source]
- With our above table place a yellow border, "groove" style and 10 pixels thick.
- Make the table 700 pixels wide.
- Next place a blue border around the headers.
- Give the header cells a light blue background.
- Change the color of the font to white.
Fruits | Vegetable | Nuts | Grains |
---|---|---|---|
Apples | Peas | Peanuts | Wheat |
Pears | Carrots | Walnuts | Oats |
Cherries | Corn | Cashews | Barley |
Orange | Beans | Almonds | Buckwheat |
- NOTICE the left edge of the table went beyond the edge of the field. The field is only 640 pixels wide so if you go over that you will intrude on the right side of the field.
Here's the coding:
<table style="border:10px groove yellow; width:700px">
<tr>
<th style="border:1px solid blue; background-color:lightblue; color:white">Fruits</th>
<th style="border:1px solid blue; background-color:lightblue; color:white">Vegetable</th>
<th style="border:1px solid blue; background-color:lightblue; color:white">Nuts</th>
<th style="border:1px solid blue; background-color:lightblue; color:white">Grains</th>
</tr>
<tr>
<td>Apples</td>
<td>Peas</td>
<td>Peanuts</td>
<td>Wheat</td>
<tr>
</tr>
<td>Pears</td>
<td>Carrots</td>
<td>Walnuts</td>
<td>Oats</td>
<tr>
</tr>
<td>Cherries</td>
<td>Corn</td>
<td>Cashews</td>
<td>Barley</td>
<tr>
</tr>
<td>Orange</td>
<td>Beans</td>
<td>Almonds</td>
<td>Buckwheat</td>
</tr>
Quick Quiz[edit | edit source]
- To make all the cells in column the same you need only put the code in the top cell
- Background color cannot be placed in cells through coding in row
- You can change the font-family in the rows
Tables - Placement[edit | edit source]
Exercises[edit | edit source]
- Place our demonstration table on the right side of the page.
- Place our lorem ipsum paragraph under the table.
- Place a 10 pixel space between the table and the text.
Fruits | Vegetable | Nuts | Grains |
---|---|---|---|
Apples | Peas | Peanuts | Wheat |
Pears | Carrots | Walnuts | Oats |
Cherries | Corn | Cashews | Barley |
Orange | Beans | Almonds | Buckwheat |
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.
Here is the coding in the beginning table tag:
Quick Quiz[edit | edit source]
- Text will always float up to the right side of a table when placing a table on the page.
- Text will float when you place a table on the right side of a page.
- You cannot place a table in the middle of the page.
Tables - Sorting[edit | edit source]
Exercises[edit | edit source]
- Take our Heathy Foods table and add another row.
- Now make the table sortable.
Fruits | Vegetable | Nuts | Grains |
---|---|---|---|
Apples | Peas | Peanuts | Wheat |
Pears | Carrots | Walnuts | Oats |
Cherries | Corn | Cashews | Barley |
Orange | Beans | Almonds | Buckwheat |
Apricots | Broccoli | Brazil Nuts | Soy Beans |
Here is the coding:
<table class="sortable" style="border:1px solid red; width:100%">
<tr>
<th>Fruits</th>
<th>Vegetable</th>
<th>Nuts</th>
<th>Grains</th>
</tr>
<tr>
<td>Apples</td>
<td>Peas</td>
<td>Peanuts</td>
<td>Wheat</td>
</tr>
<tr>
<td>Pears</td>
<td>Carrots</td>
<td>Walnuts</td>
<td>Oats</td>
</tr>
<tr>
<td>Cherries</td>
<td>Corn</td>
<td>Cashews</td>
<td>Barley</td>
</tr>
<tr>
<td>Orange</td>
<td>Beans</td>
<td>Almonds</td>
<td>Buckwheat</td>
</tr>
Quick Quiz[edit | edit source]
- When you click the sorting icon, the sorting is permanent.
- When you add items to a table, you need to insert the item in the table where it is supposed to go if you want your table in alphabetical order even with the sorting class applied.
- Sorting will revert back to the original order if you leave the page the table is on.
Tables - Scrolling[edit | edit source]
Exercises[edit | edit source]
- Take our demonstration table and make it 900 pixels wide and tall.
- Then make the table scrollable both horizontally and vertically with a finish width and height of 400 pixels.
Here is the final product:
Fruits | Vegetable | Nuts | Grains |
---|---|---|---|
Apples | Peas | Peanuts | Wheat |
Pears | Carrots | Walnuts | Oats |
Cherries | Corn | Cashews | Barley |
Orange | Beans | Almonds | Buckwheat |
Here is the coding:
<table style="border:1px solid red; width:900px; height:900px">
<tr>
<th>Fruits
.
.
.
.
</table>
Quick Quiz[edit | edit source]
- When creating the horizontal scroll bar, you do not have to set the width.
- Vertically scroll bars are only useful for very tall tables.
- You cannot have horizontal and vertical scroll bars at the same time.
Tables - Columns Only[edit | edit source]
Exercises[edit | edit source]
Adair |
Barry |
Bollinger |
Caldwell |
Carroll |
- Here is the coding:
<table>
<tr>
<td style="width:20%; background-color:lightblue; padding:5px; border-right:1px solid black">
Adair <br>
Andrew<br>
Atchison<br>
Audrain <br>
</td>
<td style="width:20%; background-color:lightgray; padding:5px; border-right:1px solid black">
Barry<br>
Barton <br>
Bates <br>
Benton <br>
</td>
<td style="width:20%; background-color:lightblue; padding:5px; border-right:1px solid black">
Bollinger <br>
Boone <br>
Buchanan <br>
Butler <br>
</td>
<td style="width:20%; background-color:lightgray; padding:5px; border-right:1px solid black">
Caldwell <br>
Callaway <br>
Camden <br>
Cape Girardeau <br>
</td>
<td style="width:20%; background-color:lightblue; padding:5px">
Carroll <br>
Carter <br>
Cass <br>
Cedar <br>
</td>
</tr>
Quick Quiz[edit | edit source]
- To have a list of items in six columns you need to create a table with one row and six cells.
- A one row table looks better if the columns are of equal length.
- To make the items on separate lines, you use <p> tags only.
Tables - Column Spans[edit | edit source]
Exercises[edit | edit source]
- Merge all the cells in the second row.
- Merge the first three cells in the fourth row.
Fruits | Vegetable | Nuts | Grains |
---|---|---|---|
Apples | |||
Pears | Carrots | Walnuts | Oats |
Cherries | Corn | Cashews | Barley |
Orange | Beans |
Here is the coding
<table style="border:1px solid red; width:100%">
<tr>
<th style="border:1px solid red; width:25%">Fruits</th>
<th style="border:1px solid red; width:25%">Vegetable</th>
<th style="border:1px solid red; width:25%">Nuts</th>
<th style="border:1px solid red; width:25%">Grains</th>
</tr>
<tr>
<td colspan="4" style="border:1px solid red">Apples</td>
</tr>
<tr>
<td style="border:1px solid red">Pears</td>
<td style="border:1px solid red">Carrots</td>
<td style="border:1px solid red">Walnuts</td>
<td style="border:1px solid red">Oats</td>
</tr>
<tr>
</tr>
<td style="border:1px solid red">Cherries</td>
<td style="border:1px solid red">Corn</td>
<td style="border:1px solid red">Cashews</td>
<td style="border:1px solid red">Barley</td>
</tr>
<tr>
<td colspan="3" style="border:1px solid red">Orange</td>
<td style="border:1px solid red">Beans</td>
</tr>
</table>
Quick Quiz[edit | edit source]
- Colspans must equal the number of cells in the next row.
- If you have a row with four cells you can have in the preceding row one cell with a colspan="3" plus the remaining cell.
- If you have a row of seven cells you can have in the preceding row one cell with a colspan="2", the next cell with a colspan="3" and the remaining cell with a colspan="2".
Tables - Row Spans[edit | edit source]
Exercises[edit | edit source]
- Merge the cells with Barley and Buckwheat in them.
- Merge the cells with Peas, Carrots and Corn in them.
Here is what the table should look like:
Fruits | Vegetable | Nuts | Grains |
---|---|---|---|
Apples | Peas | Peanuts | Wheat |
Pears | Walnuts | Oats | |
Cherries | Cashews | Barley | |
Orange | Beans | Almonds |
Here is the coding:
<table style="border:1px solid red; width:100%">
<caption style="font-size:14px; text-align:center">Healthy Foods</caption>
<tr>
<th style="border:1px solid red; text-align:center; width:25%">Fruits</th>
<th style="border:1px solid red; text-align:center; width:25%">Vegetable</th>
<th style="border:1px solid red; text-align:center; width:25%">Nuts</th>
<th style="border:1px solid red; text-align:center; width:25%">Grains</th>
</tr>
<tr>
<td style="border:1px solid red">Apples</td>
<td rowspan="3" style="border:1px solid red">Peas</td>
<td style="border:1px solid red">Peanuts</td>
<td style="border:1px solid red">Wheat</td>
</tr>
<tr>
<td style="border:1px solid red">Pears</td>
<td style="border:1px solid red">Walnuts</td>
<td style="border:1px solid red">Oats</td>
</tr>
<tr>
<td style="border:1px solid red">Cherries</td>
<td style="border:1px solid red">Cashews</td>
<td rowspan="2" style="border:1px solid red">Barley</td>
</tr>
<tr>
<td style="border:1px solid red">Orange</td>
<td style="border:1px solid red">Beans</td>
<td style="border:1px solid red">Almonds</td>
</tr>
</table>
Quick Quiz[edit | edit source]
- If you are going to merge three cells in a column, you must delete the number of cells in the column under the cell to be marged to equal the number call for in the rowspan code minus one.
- If you want to merge two cells that are under each other in a column, you delete the cell next it in the row.
Infobox - Creating[edit | edit source]
Exercises[edit | edit source]
- Add a border around the infobox, limit the width to 190 pixels and place it on the right side of the page.
- Add borders around each of the cells.
- Have the cells containing the words organization and image span both columns.
- Center the name of the organization and the image in their cells.
- Make the items in the right hand cells into parameters.
Your coding should look like this:
<table style="border:1px solid black; width:190px; float:right">
<tr>
<td colspan="2" style="border:1px solid black; text-align:center">organization</td>
</tr>
<tr>
<td colspan="2" style="border:1px solid black; text-align:center">image</td>
</tr>
<tr>
<td style="border:1px solid black">President:</td>
<td style="border:1px solid black">{{{president|President's name}}}</td>
</tr>
<tr>
<td style="border:1px solid black">Address:</td>
<td style="border:1px solid black">{{{address|Address}}}</td>
</tr>
<tr>
<td style="border:1px solid black">Phone:</td>
<td style="border:1px solid black">{{{phone|Phone number}}}</td>
</tr>
<tr>
<td style="border:1px solid black">Hours Open:</td>
<td style="border:1px solid black">{{{hours open|Hours open}}}</td>
</tr>
Quick Quiz[edit | edit source]
- Parameters have two opening and closing curly brackets surrounding them.
- Infoboxes are usually located at the top of the page on the right side.
- Infoboxes are saved just like other templates, but it is good practice to include the word "infobox" in the title.
Infobox - Placing[edit | edit source]
Exercises[edit | edit source]
Here is the coding:
{{Infobox U.S. County
| county = Jackson
| county_map = Missouri Jackson County Map.svg.png
| state = Missouri
| state_map = Missouri.png
| founded year = 1826
| founded date = December 15
| seat wl = Independence
- NOTICE the image did not require the brackets as this was built into this particular infobox.
Quick Quiz[edit | edit source]
- Once the information after the equal signs is entered and saved, there is no changing the parameters.
- Infoboxes can only be used on county pages.
- Infoboxes are limited just to genealogical organizations.
If functions[edit | edit source]
Exercises[edit | edit source]
Here is the coding:
<table class="infobox" style="width:200px; ">
<tr>
<td colspan="2">{{{organization}}}
</td>
</tr>
<tr>
{{#if:{{{image|}}}|<td colspan="2">{{{image}}}}}
</td>
</tr>
<tr>
{{#if:{{{president|}}}|<td>President:</td>
<td>{{{president}}}}}
</td>
</tr>
<tr>
{{#if:{{{address|}}}|<td>Address:</td>
<td>{{{address}}}}}
</td>
</tr>
<tr>
{{#if:{{{phone|}}}|<td>Phone:</td>
<td>{{{phone}}}}}
</td>
</tr>
<tr>
{{#if:{{{hours open|}}}|<td>Hours Open:</td>
<td>{{{hours open}}}}}
</td>
</tr>
</table>
Quick Quiz[edit | edit source]
- If nothing is entered for a parameter, there will still be a space where the parameter would normally appear.
- The "If function" allows you to create more complete infoboxes, but you do have to worry about them being too large and take up a lot of space if the subject to be posted in the infobox is small.
- It does not matter whether you use regular pipes or {{!}} in infoboxes with if functions.
Sidebars[edit | edit source]
Exercises[edit | edit source]
Here is the coding:
{{Infobox U.S. County
| county = Jackson
| county_map = Missouri Jackson County Map.svg.png
| state = Missouri
| state_map = Missouri.png
| founded year = 1826
| founded date = December 15
| seat wl = Independence
- NOTICE the images did not require the brackets as this was built into the infobox.
Quick Quiz[edit | edit source]
- Once the information after the equal signs is entered and saved, there is no changing the parameters.
- Infoboxes can only be used on county pages.
- Infoboxes are limited just to genealogical organizations.
[edit | edit source]
Exercises[edit | edit source]
- Create a navbox using the above format.
- For topics use the first 5 topics from the Germany Genealogy page.
- For Counties use the first 5 counties from the Anhalt_-_Herzogtum_(duchy) navbox at the bottom of the page.
- Change the parameter to country.
Here's what it should look like:
Links to Germany - related articles | |
Topics | Archives and Libraries · Biography · Cemeteries · Census · Church Directories |
Counties | Anhalt · Baden · Bayern · Braunschweig · Bremen |
Here's what the code should look like:
{| style="width:100%; border:1px solid black; border-collaspe:separate; border-spacing:5px; "
|-
| colspan="2" style="background-color:lightgray; text-align:center; " | Links to '''{{{Country}}}''' - related articles
|-
| style="background-color:lightgray; width:20% ; vertical-align:middle; " | Topics
| style="background-color:lightblue; " | [[Germany Archives and Libraries|Archives and Libraries]]{{·}} [[Germany Biography|Biography]]{{·}} [[Germany Cemeteries|Cemeteries]]{{·}} [[Germany Census|Census]]{{·}} [[Germany Church Directories|Church Directories]]
|-
| style="background-color:lightgray; width:20% ; vertical-align:middle; " | Counties
| style="background-color:lightblue; " | [[Anhalt - Herzogtum (duchy) Genealogy|Anhalt]]{{·}} [[Baden Grossherzogtum (grand duchy) Genealogy|Baden]]{{·}} [[Bayern (Bavaria) – Königreich (kingdom) Genealogy|Bayern]]{{·}} [[Braunschweig (Brunswick) – Herzogtum (duchy) Genealogy|Braunschweig]]{{·}} [[Bremen, Germany Genealogy|Bremen]]
Quick Quiz[edit | edit source]
- Navboxes should not include items that could be in a sidebar.
- Navboxes are usually placed at the top of the page.
- Navboxes are limited to less than 200 pixels in width.
Position - Relative[edit | edit source]
Exercises[edit | edit source]
- Place a "relative" positioned object that is 300 pixels wide and 100 pixels high between the third and fourth sentence of our Lorem ipsum paragraph.
Here is the coding:
- Place a "relative" positioned object after the last sentence that has the following attributes:
- width is 100%.
- background-color:blue.
- border 5 pixels thick and red in color.
- that is 200 pixels high.
Here is the coding:
Quick Quiz[edit | edit source]
- Relative positioning places objects in relation to the edge and top of the page.
- Relative positioning does not cover objects placed before it was.
- Relative positioning covers up all objects covered after it was placed.
Position - Absolute[edit | edit source]
Exercises[edit | edit source]
1. Make this object <div style="width:200px; height:75px; border:2px solid green; background-color:orange; "> an absolute positioned object 0 pixels from the left and 0 pixels from the top to appear inside a relative positioned object with width of 300 pixels, height of 200 pixels and a red border one pixel thick.
Here is the coding:
<div style="position:absolute; left:0px; top:0px; width:200px; height:75px; border:2px solid green; background-color:orange; "> </div>
</div>
2. Take your answer above and move the relative object with the absolute object inside 150 pixel to the left and 50 pixel from the top:
Here is the coding:
<div style="position:relative; left:150px; top:50px;border:1px solid red; width:400px; height:200px; ">
<div style="position:absolute; left:0px; top:0px; width:200px; height:75px; border:2px solid green; background-color:orange; ">
</div>
</div>
3. Take your answer from no. 2 and move the absolute object inside the relative object 150px to the left and down 25px from the top.
Here is the coding:
<div style="position:relative; left:150px; top:50px;border:1px solid red; width:400px; height:200px; ">
<div style="position:absolute; left:150px; top:50px;width:200px; height:75px; border:2px solid green; background-color:orange; ">
</div>
</div>
Quick Quiz[edit | edit source]
- Absolute positioning places objects in relation to the edge and top of the page.
- Absolute positioning does not cover objects placed before it was.
- Absolute positioning covers up all objects that follow it.
Tabs[edit | edit source]
Exercises[edit | edit source]
- HTML and Wikitext - Lesson One
- HTML and Wikitext - Lesson Two
- HTML and Wikitext - Lesson Three
- HTML and Wikitext - Lesson Four
- Here's the coding for the first tab:
<ul style="list-style-type:none">
<li style="float:left;
border:1px solid red;
border-top-left-radius:5px;
border-top-right-radius:5px;
width:130px;
margin-right:10px;
background-color:#ffe6ea;">HTML and Wikitext - Lesson One</li>
Misc[edit | edit source]
Quick Quiz[edit | edit source]
- If I want to copy the name of the article someplace in the article, you would use [[NAMESPACE]]
- To recover something you may have deleted accidentally, you would hit the control key and the D key.
- To search for a word in an article, you would hit the control key and the S key.
- To highlight an entire page, you would bit the Control and W key
- If you want exhibit code in an article, you would use opening and closing noinclude tags.