HTML Flashcards
What’s HTML’s tag syntax?
Inner HTML content
What are the h1 to h6 tags used for?
They are used for text headings, to signify the importance of content below them. The lower the number, the higher the importance.
What’s to be noted about h1 and the other headings?
Only use one h1 element per page and place lower importance headings below higher importance headings.
What is the p tag for?
It’s used to create paragrahps of text on websites.
In HTML, how are comments added to a file?
In HTML what is the tag for?
It’s one of HTML5’s new ways of making the code easier to read by coders and SEO engines.
In HTML5, how many spaces should child elements be indented?
2 more that the parent element.
What are HTML entities?
What is their general layout?
Reserved characters in HTML must be replaced with character entities.
Some characters are reserved in HTML.
If you use the less than (<) or greater than (>) signs in your text, the browser might mix them with tags.
Character entities are used to display reserved characters in HTML.
A character entity looks like this:
&entity_name;
OR
entity_number;