HTML, CSS and Javascript Flashcards
What does HTML stand for?
HyperText Markup Language
What does CSS stand for?
Cascading Style Sheets.
How would a paragraph with the text “Hello World” be shown in HTML?
[p] Hello World [/p] ([] = <>)
What is the tag that shows code should be interpreted as HTML?
[html] ([] = <>)
What tag contains the main page content?
[body] ([] = <>)
Which tag defines the tab or window heading area?
[head] ([] = <>)
What tag defines the text in the tab or window heading area?
[title] ([] = <>)
What tags are used to show headers?
[h1],[h2],[h3] ([] = <>)
What tag is used to make paragraphs?
[p][/p] ([] = <>)
Which tag is used to make images?
[img src = FileLocation, height = x, width = y] (self closing) ([] = <>)
How would you link the text “Hello World” to google
[a href=”https://www.google.co.uk”] Hello World[/a] ([] = <>)
How would you write an ordered / unordered list?
[ol] (or [ul] for unordered)
[li] bullet one [/li]
[/ol] ([] = <>)
How do you use and what if the function of a div tag?
[div] content [/div] ([] = <>)
Used to divide page into separate containers, can be styled specifically in css.
Why is CSS used?
Used to describe layout, colours, sizes etc of web pages, means styles can be used throughout whole sites.
What is internal CSS and how do you use it?
When the CSS file is placed directly in the html file: [style type="text/css"] h1{ color:blue; } [/style] ([] = <>)