HTML Tags and Attributes Flashcards
Learn common Tags and Attributes
What is the difference between the href and src attributes?
HREF is for referencing external resources while SRC references resources within a project
How many heading tags are there?
6
what is < span > used for?
allowing something to be style in-line
by default, what is the < em > tag for?
making text italic
by default what is the < strong > tag for?
making text bold
the < body > tag is use for…
everything that goes on the page itself
the < head > tag is for…
machine readable information, such as the title, links to style sheets, scripts, char sets, and other metadata
What is a very basic security measure to ensure no foreign stylesheet or script injections?
an SRI hash on the root CSS file and any js files in html
What is the difference between a hash and an encryption?
Hash just jumbles, encryption means the intended sender and receiver have a key to hash and unhash their communication
What are things like $nbsp; called?
HTML entities
What is a HTML entity?
things such as $nbsp; to be used to escape HTML special chars, anything with $ ;