0% found this document useful (0 votes)
8 views2 pages

ACC (2)

Uploaded by

Manu__M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

ACC (2)

Uploaded by

Manu__M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

ACC2

In HTML language we have only tags. A tag opened must be closed.


For example <head>………………….</head>

Tags can be nested, however they must be opened and closed in order.
Tags may/may not have attributes.
Attributes may/may not have values.
Values are written inside double quotes.

syntax:
<tagname attribute="value" attribute="value" attribute="value"> </tagname>

"index.html" or "index.htm" ** (the default name of the home page)


 the latest version is HTML5.
no "standard" HTML until the introduction of HTML 2.0.
HTML5 is not just the future of web design, it's the present.
<!-- The tag for comment -->
<!DOCTYPE html> 
Like any language, HTML5 has a grammar and a vocabulary.
Grammar
<!DOCTYPE html> goes at the top of every HTML5 page.
Vocabulary
The HTML5 word <!DOCTYPE html> means "this page is written in HTML5" as opposed to, say HTML
4.01.

<html>
Example
Here the xmlns attribute is used to define the default namespace of an XHTML
document:

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

However this attribute is rather special in XML terms, because it’s also used as a
prefix to define additional namespaces for a document.
xmlns:namespase ="URL"
For Example:

xmlns:fb="https://www.facebook.com/2008/fbml"

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"


xmlns:fb="https://www.facebook.com/2008/fbml">

<head>
Heading Tags. H1 and H2 primarily – are one of your main sources of providing the search
engines with your keywords that you will ideally want to be ranked for. As a heading usually comes
before the description, it is assigned more value than most other text on the basis it is supposed to
sum up the text or image within the page.
Meta Tags. One of the old techniques and still very important to the success of a webpage in
regards to SEO, meta tags are one of the first parts of a website you should set up. You want a
Meta title, description and meta keywords, which is going to really help your website be
understood – if your content matches the same niche as your meta tags.

<meta charset="utf-8">
<title>Head tag - HTML5 tutorial</title>
<meta name="description" content="The head tag contains the title
tag and meta tags - important to the search engines, and
information for the browser to properly display the page.">

You might also like