Tags & The Use Thereof

The above is Heading 2 <h2></h2>. This is Heading 3 <h3></h3>.

This is a html page. It is formatted using html tags. A certain minimum of these will be required in the articles that are added to the database of the Content Management System.

They are only needed in the article_body field of the form which adds articles to the database. The formatting of all the other field will be hard coded. Which is to say, it will take care of itself.

The article_caption field will be bold text by default.

The author_name field will be italicised text by default.

The title field will be bold and centred text by default.

Tags for paragraph and line breaks are not required. The system is coded to accept single and double (paragraph) line spacings and automatically convert those to HTML. So, just forget about those.

<em></em>

<em>begins a period of italicisation, which is ended by</em>.

The quick brown <em>fox</em> jumps over the lazy dog.

It is important to note that the typography will not change in the add article form. The word(s) enclosed by the tags will only appear in italics in the view article page.

<b></b>

<b>begins a period of bold type, which is ended by</b>.

The quick brown <b>fox</b> jumps over the lazy dog.

Again changes to the typography will only be seen when the article is viewed from the link on the article_index page.

<u></u>

<u>begins a period of underlined type, which is ended by</u>.

The quick brown <u>fox</u> jumps over the lazy dog.

Again changes to the typography only become evident viewing the article from the link on the article_index page.

Subheadings

<b><i>This is a subheading</i></b>.

The important thing here is the symmetry. first tag, second tag, text, end second tag, end first tag.

1 2 text /2 /1

Centred Line

This is the code for a centred line. It places an image from the images directory centrally between two paragraphs in an article. The positioning of the code can be seen in example articles.

<div align="center"><img src="../images/10pxline.jpg"></div>

Blockquote

<blockquote>"Text"</blockquote>

This indents one, two three or however many paragraphs of quotation.

Example:

<blockquote>"The quick brown quotation jumped over the lazy dog. CSS will make this look even more distinctive. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy. Dog the quick brown fox for no apparent reason jumps over the dog for it is lazy. Is that perhaps the reason?

"The quick brown quotation jumped over the lazy dog. CSS will make this look even more distinctive. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy. Dog the quick brown fox for no apparent reason jumps over the dog for it is lazy. Is that perhaps the reason?

"The quick brown quotation jumped over the lazy dog. CSS will make this look even more distinctive. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy. Dog the quick brown fox for no apparent reason jumps over the dog for it is lazy. Is that perhaps the reason?"</blockquote>

There are examples of all these tags in the example articles that have already been add to the database. They can be deleted or edited. New articles can and should be added again and again until the cows come home, if indeed the cows don't get kidnapped and carried off to captivity in outer mongolia and, alas, never see their homes again.
That is all for now. I might add one or two more tags in the future. But that is definitely enough and more than enough for now.
Home Page