Basics HTML

djamesmck57's version from 2017-06-10 20:11

Section 1

Question Answer
HTMLhyper text markup language
CSScascading style sheet
HTML ElementsElements are designators that define the structure and content of objects within a page.

tagsThe use of less-than and greater-than angle brackets surrounding an element creates what is known as a tag
opening tab<whatever>
closing tab</whatever>
anchor link<whatever>.....</whatever>
attributesAttributes are properties used to provide additional information about an element
metametadata The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable. Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata.
charsetcharacter set
utf-8character encoding for unicode

Section 2

Question Answer

- self enclosing
line break
img - selfThe <img> tag has two required attributes: src and alt
wbr- selfThe <wbr> (Word Break Opportunity) tag specifies where in a text it would be ok to add a line-break
embed-selfThe <embed> tag defines a container for an external application or interactive content (a plug-in).
input-selfThe <input> tag specifies an input field where the user can enter data. <input> elements are used within a <form> element to declare input controls that allow users to input data. An input field can vary in many ways, depending on the type attribute.
param- selfThe <param> tag is used to define parameters for plugins embedded with an <object> element.
hr-selfThe <hr> tag defines a thematic break in an HTML page (e.g. a shift of topic).
source-selfThe <source> tag is used to specify multiple media resources for media elements, such as <video>, <audio>, and <picture>. The <source> tag allows you to specify alternative video/audio/image files which the browser may choose from, based on its media type, codec support or media query.
linkThe <link> tag defines a link between a document and an external resource. The <link> tag is used to link to external style sheets.