HTML & Css Mcit
HTML & Css Mcit
Course Content
HTMl , HTML5
CSS , Css3
Bootstrap
Jquery
JavaScript
Drwamweaver
Google Search Consol
VS.Net
• Quotations • Marquees
The HTML document itself begins with <html> and ends with </html>.
The visible part of the HTML document is between <body> and </body>.
Elements
HTML Elements
Nested HTML Elements
HTML elements can be nested (elements can contain elements).
All HTML documents consist of nested HTML elements.
This example contains four HTML elements:
Empty HTML Elements
HTML elements with no content are called empty elements.
<br> is an empty element without a closing tag (the <br> tag defines a line break).
Empty elements can be "closed" in the opening tag like this: <br />.
HTML5 does not require empty elements to be closed. But if you want stricter validation, or if you need to make your
document readable by XML parsers, you must close all HTML elements properly.
Attributes
HTML Attributes
• All HTML elements can have attributes
• Attributes provide additional information about an element
• Attributes are always specified in the start tag
• Attributes usually come in name/value pairs like: name="value"
Headings
HTML Headings
Headings are defined with the <h1> to <h6> tags.
<h1> defines the most important heading. <h6> defines the least important heading.
Bigger Headings
Bigger Headings
Paragraphs
HTML Paragraphs
Output
Output
Styles
The HTML Style Attribute
Setting the style of an HTML element, can be done with the style attribute.
Link Two
Links
HTML Links - Hyperlinks
HTML links are hyperlinks.
When you move the mouse over a link, the mouse arrow will turn into a little hand.
Images
Tables
Lists
Summary
Blocks
Classes
IDs
Iframes
Meta Tag
Meta Tag
HTML lets you specify metadata - additional important information about a document in a variety of ways. The META
elements can be used to include name/value pairs describing properties of the HTML document, such as author,
expiry date, a list of keywords, document author etc.
The <meta> tag is used to provide such additional information. This tag is an empty element and so does not have a
closing tag but it carries information within its attributes.
You can include one or more meta tags in your document based on what information you want to keep in your
document but in general, meta tags do not impact physical appearance of the document so from appearance point of
view, it does not matter if you include them or not.
You can add metadata to your web pages by placing <meta> tags inside the header of the document which is
represented by <head> and </head> tags. A meta tag can have following attributes in addition to core attributes −
HTML Form Controls
Marquees
Audio & Video
Layouts
Thank you