|
[HTML][P:1] Introduction
|
|
07-26-2011, 05:27 AM
(This post was last modified: 07-26-2011 04:21 PM by Rune.)
|
|||
|
|||
|
HTML Introduction
HTML stands for HyperTextMarkupLanguage and is a language of describing web pages. Web pages consist of markup tags and plain text. Document Structure An HTML document is structured into three parts: DOCTYPE Code: Indicates what HTML version to useHEAD Code: Contains mostly non-visual contentBODY Code: Contains the visual content of the pageSyntax HTML rules, or syntax, govern the way in which code is written. HTML tags are keywords surrounded by angle brackets, e.g. <html>. Most HTML tags come in pairs, the opening tag (<title>) and the closing tag (</title>). The two tags make up an HTML element. As a best practice, all HTML tags should be closed, i.e. have an opening and closing tag. Code: <tag>content</tag>In between the HTML tag pairs is the content in plain text, e.g. Code: <h1>My Heading</h1>Be aware that not all HTML tags have closing tags. Some tags, which do not wrap around content will close themselves, e.g. <br />. These are also known as empty or void tags. To close empty tags , place a forward slash (/) before the final bracket, as shown in the following code sample: Code: <emptytag />Required Tags All HTML documents need to have the <html>, <head>, and <body> tags, along with the <!DOCTYPE> identifier as the first line. At a minimum, HTML pages should include the following elements: Code: <!DOCTYPE>The required tags and a description of each: Code: <!DOCTYPE> - Specifies to the browser which set of standards the document adheres toAttributes and Values Many tags have additional aspects that can be customized. These options are called attributes and appear inside the opening tag and their value is always inside quotation marks. The following example shows a tag which contains two attributes: Code: <tag attribute1="value"Attributes always appear in side the opening HTML tag. Multiple attributes may be specified by separating each with a space character. Like my posts? Feel free to rep+ me or donate some points. |
|||
|
07-26-2011, 02:42 PM
|
|||
|
|||
|
RE: [HTML][P:1] Introduction
That nice introduction about html but there are some thread is similar with your thread but it still good cause it plus the introduction about the html.
Your thread seem there are some problem when you use bold in code'tag. It seem like MyCode of MyBB is not available to use bold'tags in code'tags. Millions Thank FreeVPS & LoomHosts for my lovely VPS8 |
|||
|
07-26-2011, 04:21 PM
|
|||
|
|||
|
RE: [HTML][P:1] Introduction
Oh, thanks for telling me, editing right now.
Like my posts? Feel free to rep+ me or donate some points. |
|||
|
07-26-2011, 04:41 PM
|
|||
|
|||
|
RE: [HTML][P:1] Introduction
A really nice intro for HTML. Thanks for that.
Patience has a limit and if you choose to be patient beyond this limit then it causes anger.
|
|||
|
« Next Oldest | Next Newest »
|
| User(s) browsing this thread: |
| 1 Guest(s) |






