15 Minute Test
1. Name two advantages of using CSS
one advantage of using CSS is that you dont have to individually change each HTML tag, instead you can create styles which can be applied to different bits of text, making then exactly the same. CSS also allows you to change many parts of a webpage by changing the style, this is rather than searching through the HTML and changing individual tags. There is also alot more choice when styling the website.
2. What does the <a> tag do?
This tag is written before a piece of text to make it into a hyperlink.
3. What does <a> stand for?
This stands for anchor.
4. Where is CSS placed in a HTML document?
The CSS is an external file linked to in the <head> of the HTML document.
5. How is CSS written?
6. How should elements be 'nested' in HTML?
Elements are nested by putting an opening tag such as <a> before a piece of text, then to finish the nest you put a closing tag, </a>. This nests the text and makes that tag take effect. They should also be first till last, so for example the first tag should be the last tag closed.
7. Why would you use XHTML?
Because it is a cleaner version of HTML. Every tag must be closed properly and everything must be nested properly. If not, it will not work correctly.
8. Name 2 rules of XHTML
Always use lowercase. Content must be 100% dramatically correct.
No comments:
Post a Comment