Introduction to HTML

There are opening and closing HTML tags. There also self-closing HTML tags. For example <img> tag is self closing.

Closing of HTML tag needs to follow its opening. If other HTML elements are placed inside of that element, this is how they will be displayed. For example an image tag maybe placed inside of HTML table. When an HTML page is rendered then, tho is how those elements will be looked like.

Closing of HTML tags must be done in proper order. If this is not done in order, than it will be a broken HTML page.

HTML elements may have attributes associated with them. For example width of an HTML table is one of the attributes.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator