HTML ?'s Flashcards
what is HTML?
Hypertext markup languages, used to create web apps, websites
What is a tag?
Tags are symbols between which the content is placed.
what is the difference between phyiscal and logical tags?
physical tags would be something like a style attribute with a color set to blue, while logical tags is like the em tag, which shows that a text needs to be emphasized
Should you close all of your tags?
No not all of them need to be closed, img tag for example does not require a closing tag
What is an attribute?
An attribute is an additional function that a tag has. width, is an example of an attribute
what are some semantic tags that were introduced in HTML5?
header, footer, main tag = dominant content of body, article = reusable or interactive content on a page (widget for weather)
Why are some characters displayed as boxes?
some characters may not be supported by the browser
How many headings can HTML support
h1 - h6
What is the difference between block and inline elements?
Block = take up as much as space, start on new line inline = take as less space as possible
What is the use of XHTML?
websites become more compatible and accurate with many browsers
How would you group form elements?
fieldset tag, to collect and transform certain form html elements into a single group
What is an image map?
An image map is a tool that lets you place many different links on one, specific image. Creates banners and website cover images that link to other parts of website.
What are anchor tags
anchor tags are used to create hyperlinks.
What are semantic elements?
elements that bring further meaning into webpage. form, table, etc are semantic elements
How is data stored in HTML5?
Local storage = does not send everything back to server on every HTTP request, does not delete once session is closed.
Session storage = data is deleted once you exit browser