What is HTML?
HTML is “spoken” by two computers:
The client is used by the person surfing the net, such as the computer you are looking at right now.
A server stores and distributes websites over the net. I have a server where I store this web site.
The terms are often encountered in the phrases “server-side” and “client-side”; meaning something occurs on the server or the client. “That script runs client-side.” means “That script runs on the client”.
Basic HTML Content
This is a very basic sample of HTML coding.
Media Elements and the Flash Rivalry
- audio — embeds audio in the page and includes attributes for specifying how to play it; supported file formats will vary between Web browsers
- video — embeds video in the page and includes attributes for specifying how to play it; supported file formats will vary between Web browsers
- source — used with audio or video elements to identify a source; multiple sources could be specified for a single item
- embed — embeds and specifies the media type for content that might lack support within other media elements
- svg — embed vector graphics encoded with SVG markup language, allowing them to be scaled dynamically to the area of the page in which they’re loaded without losing any graphic quality
Source : html-5-tutorial
Every opening tag has closing tag. Example- <html> and<div> is opening tag and their closing tags are </html> and </div> respectively. The difference being the “/” in the closing tag. Number of opening must be equal to number closing tag. If you forget to type closing tag you will get error in code like closing tag is missing.
Example of Correct code:
This div tag
contains this div tag.
Output of Code:
This div tag