Download LOGASnet User Guide for DCLG Users v1.0

Transcript
LOGASnet User Guide for DCLG Users
Section 12 – Appendix
Appendix II – HTML Formatting Tags, continued
HTML
Examples
Simple HTML formatting works by marking the selected portion of text that
you wish to format in between two ‘tags’, a start tag and an end tag. An
end tag is indicated by the forward slash ( / ) character before the tag
name. Look at the example below, which uses the b tag to make text bold.
<b>This text is bold</b>
The start tag here is <b>, and the end tag is </b>. The text in this
sentence will appear as bold when it is displayed on the form.
You can combine tags to combing multiple formats. The i tag used in the
example below makes text appear italicised.
<b><i>This text is bold and italicised</b></i>
This will appear on the form as “This text is bold and italicised”
<u>…</u> makes selected text underlined.
HTML code
Display
This word is <u>underlined</u>
This word is underlined
<u>This sentence is underlined.</u>
This sentence is underlined
<span style='color:red'>…</span> changes the colour of the selected
text.
HTML Code
Display
<span style='color:red'>This is red
text.</span>
This is red text.
<span style='color:green'>This is
green text.</span>
This is green text.
<span style='color:cyan'>This is
cyan text.</span>
This is cyan text.
<span style='color:blue'>This is blue
text.</span>
This is blue text.
October 2009
© Communities and Local Government 2007
Version 1.0
Page 194