Saturday, February 23, 2019

The Impact of the Printing Press on Education

Interactive Media circle virtually http//library. albany. edu/imc/ hypertext mark-up language & Xhypertext markup language Tag Quick Reference This reference notes both(prenominal) of the most usually utilize HTML and XHTML tags. It is not, nor is it intended to be, a comprehensive list of obtainable tags. Details regarding the proper use of XHTML atomic number 18 at the end of this put down. What It Is staple fiber Document Tags What It Does Indicates the start and end of an HTML Document Defines the portion of the document that contains essential formatting information. The material in the head is invisible.Defines the portion of the document that contains the visible information. Body Attri b arlyes What It Is What It Does Specifies the background food colouring Specifies the text color Specifies the color of unfollowed links. Specifies the color of followed links. Specifies the color of links when they are clicked. NOTE Body props whitethorn be combined inwardly th e body tag. deterrent causa Text Tags What It Does The gallery tags display text in sizes ranging from the ,, largest, h1, to the smallest, h6. These specifications ,, are intended to denote the enormousness data below the , heading.Specifies downright text. Specifies italics text. Specifies a typewriter or teletype-like text. Creates an emphasis on text that is rendered usually as italics, but sometimes as bold depending on the browser. Creates an emphasis on text that is usually rendered as bold, but sometimes as italics depending on the browser. Specifies the font size from 1 to 7. 1 is the largest, 7 the smallest, and 3 is generally the default size. Specifies font color. NOTE baptistry attributes may be combined within the font tag. Example Example of combined font attributes. 9/03 R. Lipera v. 2. 2 What It Is Interactive Media pith http//library. albany. edu/imc/ universal Formatting Tags What It Is (HTML) What It Is What It Does (XHTML) Defines a paragraph. Defines p aragraph concretion left, right, or center. Inserts a position break. Defines a block quote and indents text from both sides. Usually with some extra home above and below. Defines the eviscerate of descent and end of an ordered list. Defines the beginning and end of an unordered list. Defines the beginning and end of a line within a list. Start a line with a tally in an ordered list, and with a bullet in an unordered list.Image Tags What It Is (HTML) What It Is (XHTML) What It Does Places and chain of mountains. Specifies the alignment of an image middle Specifies a border around and Specifies the alternative strike off for an for use nongraphical browsers. NOTE propertys within the font tag may be combined. Example in HTML Example in XHTML What It Is (HTML) Horizontal conventionality Tags What It Is What It Does (XHTML) Specifies the start of a horizontal rule. Specifies the height of a horizontal rule. Specifies the breadth of a horizontal 9/03 R. Lipera v. 2. 2 2 Inter active Media Center http//library. lbany. edu/imc/ rule in each pixels or percent. States that the horizontal rule should go no shade. NOTE Attributes within the horizontal rule tag may be combined. Example in HTML Example in XHTML sidestep Tags What It Is What It Does Specifies the beginning and end of a turn off. Specifies the beginning and end of a table row. Specifies the beginning and end of a table cell. Defines a table header. A normal cell with text that is bold and centered. Specifies the size of the border around a table and cells within the table. Specifies the space between cells.Specifies the amount of space between the border of a cell and the items within the cell. Specifies the width of a table in either pixels or percent. Specifies the alignment of content in a row of cells as either left, right, or center. Specifies the alignment of contents in a cell as either left, right, or center. Specifies the erect alignment of contents in a row of cells as either top, bottom, or middle. Specifies the vertical alignment of contents in cell as either top, bottom, or middle. Specifies the number of columns a cell will span.Specifies the number of rows a cell will span. Stops text from automatically line wrapping. 9/03 R. Lipera v. 2. 2 3 Interactive Media Center http//library. albany. edu/imc/ XHTML can be thought of as an upgraded and stricter version of HTML 4. 01. It is not much much than difficult to write XHTML than it is to write properly formed HTML. There are some simple rules that must be followed. The most important rules are XHTML tags must all be in lower case. XHTML elements must be nested preparely. All XHTML tag elements must be closed. Documents written in XHTML must be well-formed.Examples of lower case rule This is incorrect. This is correct. Examples of the nesting rule This is incorrect nesting. This is correct nesting. Examples of the closed tag rule This horizontal rule tag is not closed- This horizontal rule tag is clo sed- This image tag is not closed- This image tag is properly closed- Examples of the well-formed document rule XHTML documents must provoke the proper structure. This means all components must be within the arising and closing HTML tags, . Internal elements must be correctly nested and dictated properly.The basic components and structure of an XHTML document are 9/03 R. Lipera v. 2. 2 4 Interactive Media Center http//library. albany. edu/imc/ XHTML Syntax Rules XHTML requires that some basic rules of phrase structure be followed. As with the tag rules noted above, XHTML syntax is not much more difficult that correctly formed HTML. These rules are, however, much stricter and must not be violated. These rules follow. Attributes must be quoted. The Name attribute is replaced by the ID attribute Attribute shorthand must not be used. DOCTYPE story must be used. The DOCTYPE statement is part of Document Type Definition, DTD, and is used to specify which syntax is used in the Web rascal. ) Examples of the quoted attribute rule This is incorrect- This is correct- Examples of the Name attribute replacement rule This is incorrect- This is the correct substitution- Examples of the no shorthand rule This is an example of improper shorthand- This is the same tag correctly written without shorthand- Examples of DOCTYPE statements This is a page without a statement 9/03 R. Lipera v. 2. 2 5 Interactive Media Center http//library. albany. edu/imc/Example of a page with a DOCTYPE statement Note that the DOCTYPE statement goes ahead of the opening HTML tag, . The statement is not part of the HTML document and does not have a closing tag. It is used to assure a browser how to render the document. There are three DOCTYPE statements. statement used to create clutter-free presentations and when Cascading Style Sheets are used Statement used when HTML presentational features are present and when it is desirable to support former(a) browsers that do not understand Style Sheets Statement used when frames are incorporated into the design of the page 9/03 R. Lipera v. 2. 2 6

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.