Phone Now 01323 649779

Contact us now!

Phone 01323 649779, email us or fill out our online enquiry form.


Newsletter

Privacy | Unsubscribe

Formatting Text with SML

Text in SML is the same as HTML. Text is formatted using headings, paragraphs, line breaks, and other phrase elements which add extra meaning to the structure of the document.

Example of Headings, Paragraphs, and Line Breaks

<p>This is a paragraph of text, and below it is a heading.</p>
<h3>Heading</h3>
<p>This is another paragraph of text with a line break<br />to create two lines of text.</p>


This is a paragraph of text, and below it is a heading.

Heading

This is another paragraph of text with a line break
to create two lines of text.

Phrase Elements

Phrase elements allow portions of text to be semantically meaningful, giving additional information to the user and to the search engine. Phrase elements include:

Tag Meaning
abbr Abbreviation
acronym Acronym
code Computer code
em Text is emphasised
strong Text is strongly emphasised

Example of Phrase Elements

<p>This is a paragraph of text which contains <em>emphasised text</em> and <strong>strongly emphasised text</strong>. Below is a snippet of computer code:</p>

<p><code>int Add(int a, int b)<br />
{<br />
&nbsp;&nbsp;&nbsp;return a + b;<br />
}</code></p>

<p><acronym title="North Atlantic Treaty Organisation">NATO</acronym> is an example of an acronym, and <abbr title="World Wide Web">WWW</abbr> an abbreviation.</p>


This is a paragraph of text which contains emphasised text and strongly emphasised text. Below is a snippet of computer code:

int Add(int a, int b)
{
   return a + b;
}

NATO is an example of an acronym, and WWW an abbreviation.