Basic HTML / PDF






Sample of the pdf document : 


1. HTML and Tags: The beginning:

HTML (Hypertext Markup Language) is an authoring language that is added to basic text documents to control the layout and format of the document content as viewed on the web. The language is made up of tags—markers, enclosed in brackets (<>), which indicate how text or graphics should appear.

Tags are generally used in pairs, and the closing tag is always preceded by a forward slash (/). Here is an example of a line of text which includes a tag:

<TAG>This is the content/text that the tag is acting on.</TAG>

There are some tags which are “unpaired.” The <BR> tag is an example of this. Other tags do not require a “closing” tag, and many browsers will interpret the code correctly even if this optional closing tag is missing. However, best practices in programming dictate that you close all appropriate tags which are paired.

HTML is not case-sensitive. However, some prefer to write HTML tags in all-caps, so as to see them better when reading code.


2. Tag Attributes: What can Tags do for you?

Many tags can be further defined by including attributes. Attributes contain information about the characteristics the tag should take on. For example, you can define a section of text as a paragraph using the <P> tag.

 Then, you can assign certain attributes (alignment is a good example) within the tag.

 The syntax of this is as follows:


HTML code: <P>This is a normal paragraph.</P>
<P ALIGN=”center”>This is a centered paragraph.</P>

Display:

This is a normal paragraph.......




                                               Click here for  Download PDF / FREE
                                                                                              


0 commentaires: