Introduction to HTML Year 8
What is HTML O Hyper Text Mark-up Language O The language that all the elements of a web page are written in. O It describes the document content in a way that is understandable by a web browser
HTML O The declaration helps the browser to display a web page correctly. O It tells the browser what type of document. O Should be the first thing in a HTML document O HTML5 is the most recent version of HTML and its declaration is:
HTML “tags” O HTML tags are key words that are used to identify content. O They are surrounded by angle brackets e.g. O They usually come in pairs (a start and an end tag) Content
HTML Elements O A HTML element is everything between the start tag and the end tag including the tags themselves: Content O An element content is everything between the start tag and the end tag: Content O Its important to always remember to have an end tag for each element.
Simple HTML structure example Example Web page example This is an example web page
What does this look like?
HTML headings O Headings are defined using the to tags. O They are ranked in order of importance. O should be used as a main heading and then as a sub heading and so on. This is heading 1 This is heading 2 This is heading 3 This is heading 4 This is heading 5 This is heading 6
HTML Paragraphs O Paragraphs are defined with the tag This is a paragraph.
Useful resources O O THE WEB!! There are many tutorials online. HTML Validator O