FamilySearch Wikitext Inline Styling: Difference between revisions
m (Text replacement - "\<p(.*?)\>(.*?)\<\/p>" to "<span$1>$2</span>") |
m (Created page with "====Inline styling==== <p>Lets look closely at the inline style code and break it down into pieces.</p> #Space after the p. #Next the word "style" #Followed by an equal sign =. #...") |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
====Inline styling==== | ====Inline styling==== | ||
< | <p>Lets look closely at the inline style code and break it down into pieces.</p> | ||
#Space after the p. | #Space after the p. | ||
#Next the word "style" | #Next the word "style" | ||
Line 9: | Line 9: | ||
#What change you want to make for the <font color="red">property</font color> or what <font color="red">value</font color> you want the property to now have. In this case change the font to "times new roman." | #What change you want to make for the <font color="red">property</font color> or what <font color="red">value</font color> you want the property to now have. In this case change the font to "times new roman." | ||
#Add another quotation mark ". You cannot leave out any of the quotation marks. The coding will not process if any of them are missing. | #Add another quotation mark ". You cannot leave out any of the quotation marks. The coding will not process if any of them are missing. | ||
< | <p>Study the coding again and impress it in your minds. You will be using it over and over again.</p> | ||
<p <font color="red"><nowiki>style="font-family:times new roman"</nowiki></font color>> | <p <font color="red"><nowiki>style="font-family:times new roman"</nowiki></font color>> | ||
< | <p><i>The number of attributes you can put into a tag is unlimited.</i></p> | ||
{| | {| | ||
Line 19: | Line 19: | ||
|} | |} | ||
---- | ---- | ||
Revision as of 10:23, 16 May 2015
Inline styling[edit | edit source]
Lets look closely at the inline style code and break it down into pieces.
- Space after the p.
- Next the word "style"
- Followed by an equal sign =.
- Then a quotation mark ".
- The item to be changed or property. In this case "font-family."
- A colon :.
- What change you want to make for the property or what value you want the property to now have. In this case change the font to "times new roman."
- Add another quotation mark ". You cannot leave out any of the quotation marks. The coding will not process if any of them are missing.
Study the coding again and impress it in your minds. You will be using it over and over again.
<p style="font-family:times new roman">
The number of attributes you can put into a tag is unlimited.