The Web, HTML & JavaScript - HTML Flashcards
Advantages of HTML over web authoring?
- You know whats going in so there’s no extra clutter
- You pay more attention to the layout as you have to think about it first
- You learn about software design in the process
What does <!DOCTYPE HTML> do?
It is a document type declaration, which tells the browser what type of document to expect
What does do?
It uses the 8 bit Universal Transformation Format character set, which includes all Western European Languages
Why should HTML code be indented?
Makes code easy to read and identify the different sections of code
What are some common HTML code errors? (3)
Incorrect spelling, tags not being opened/closed, files in incorrect folders
What are the following tags: ?
- Inserts a horizontal line
* Creates a navigation bar
What is “content”?
The information the web creator wants to convey to the viewers of the site
What is “presentation”?
Defines how the content will appear to the viewers of the web site
What is “behaviour”?
Allows the web creator to add interactivity to web pages