Computer Engineering
About HTML5
HTML is the standard markup language for creating Web pages.
* With HTML you can create your own Web site.
* This tutorial teaches you everything about HTML.
* HTML is easy to learn - You will enjoy it.
HTML Introduction
What is HTML?
HTML stands for Hyper Text Markup Language.
HTML describes the structure of Web pages using markup.
HTML elements are the building blocks of HTML pages.
HTML elements are represented by tags.
HTML tags label pieces of content such as "heading", "paragraph", "table", and so on
Browsers do not display the HTML tags, but use them to render the content of the page
A Simple HTML Document
Example Explained
* The < !DOCTYPE html > declaration defines this document to be HTML5* The < html > element is the root element of an HTML page
* The < head > element contains meta information about the document
* The < title > element specifies a title for the document
* The < body > element contains the visible page content
* The < h1 > element defines a large heading
* The < p > element defines a paragraph
HTML Tags
HTML tags are element names surrounded by angle brackets:< tagname >content goes here...< /tagname >
* HTML tags normally come in pairs like < p > and < /p >
* The first tag in a pair is the start tag, the second tag is the end tag
* The end tag is written like the start tag, but with a forward slash inserted before the tag name
Tip: The start tag is also called the opening tag, and the end tag the closing tag.
HTML Text Formatting
HTML Bold < b > and Storng < strong > Elements
* This text is strong and* This Text is Bold
HTML Italic < i > and Emphasized < em > Elements
* This Text is in Italic and* This text is emphasized
HTML Small < small > Element
* HTML Small FormattingHTML Marked < mark > Element
* HTML Marked Formatting
HTML Element < del > Element
* My favorite color is HTML < ins > Element
* My favorite color is red.HTML < sub > Element
* This is subscripted text.HTML < sup > Element
* This is superscripted text.HTML Quotation and Citation Elements
Quotation
Here is a quote from WWF's website: For 50 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally.HTML < q > for Short Quotations
WWF's goal is to:Build a future where people live in harmony with nature.
HTML Images
HTML images are defined with the < img > tag.
The source file (src), alternative text (alt), width, and height are provided as attributes:
HTML Links
HTML links are defined with the < a > tag:
All Right Reserved by (c) TISBMKM
No comments:
Post a Comment