What is HTML?

HTML stands for Hyper-Text Markup Language.

HTML is the language of the Internet. HTML language is not dynamic, it is static. However dynamics can be added to web pages using JavaScript. JavaScript is a programming language for the web.

HTML is rich. It can contain images, forms, links to other documents.

HTML consists of tags, attributes and elements.

Tags are surrounded by left and right angle brackets. Many of the tags have both opening and closing tag. For example paragraph tag will have tag indicating where paragraph starts and it will have closing tag indicating where this paragraph ends. End HTML tag contains forward slash.

HTML attributes specify extra information about this element. HTML attributes are included in the opening HTML tag. It is a good practice to wrap attribute values in double quotation marks.

HTML element is both a tag and content within that tag.

HTML elements have parent/child relationship. HTML element that includes another HTML element is referred as a parent.

Opening tag for the HTML content is <body> tag, it is a parent tag for all other HTML tags.

HTML elements that are not contained within each other, but follow each other on the same level are siblings.

It is possible to specify look of HTML elements inline, however it is the best practice to use standalone CSS file to list design of HTML elements. CSS stands for Cascading Style Sheets. There maybe multiple CSS files included in a single HTML file,

CSS file will specify design of HTML elements. 

YouTube video



Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator