Dooshyantsing Bajnathsingh
HTML Common Used Elements
1. What is a markup?
2. What is a hypertext and hypermadia?
3. What is a doctype and why is it important to include it in every HTML documnet?
4. What language can be used to style web document?
5. Which element are required for a valid XHTML5 document?
6. What is a self closing element?Give an example?
7. What is XML and why is it important to web developers?
8. Describe 4 XMl rules?
9. What is the difference between a "well-formed" and a valid web document?
Answer:
- A markup is simply to define elements and provide a specific tag to markup each element.
- Hypertext is a text whick contains links to other texts.Hypermedia is a similar concept and includes graphics,sound and video.
- A doctype declaration specifeis the verion of HTML to be used by a brower.Its is important to include it as browers will attemps to render documnet whitout a doctype with thier so called "quick mode" with possible unexpected result.
- Cascading stylesheet
-
- A doctype declaration
It specifies the version of HTMl to be used.
- An HTML element with the head and body nested within it
- A title nested with in the head
- A doctype declaration
- Its an element that does not require a end tag.
An example: < meta name="author" content="your name" / > - XML is a general purpose markup language with stricter syntax rules than HTML. XML is important because it is essential for well structured documents that are easier to develop and maintain.
-
- Elements must be properly nested.
- Elements must have a start and end tag.
- Element names are case-sensitive.
- Attributes may not be repeated.
- A well formed document is one which follows XML syntax
On the other hand a valid document is one which conforms to a particular doctype and is also well formed.