Fichas
basic

Fichas del conjunto (41)
- 1—All HTML documents must start with a document type declaration: .
The HTML document itself begins with and ends with .
The visible part of the HTML document is between and .
- 2This is heading 1 This is heading 2 This is heading 3(up to )
- 3paragraphThis is a paragraph.
This is another paragraph. - 4HTML links are defined with the tag:This is a link
- 5HTML images are defined with the tag. The source file (src), alternative text (alt), width, and height are provided as attributes:Try it Yourself »
- 6Empty elements do not have an end tag, such as the element (which indicates a line break).Empty elements can be "closed" in the opening tag like this:
.
HTML5 does not require empty elements to be closed. But if you want stricter validation, or if you need to make your document readable by XML parsers, you must close all HTML elements properly. - 7AttributesAll HTML elements can have attributes
Attributes provide additional information about an element
Attributes are always specified in the start tag
Attributes usually come in name/value pairs like: name="value" - 8Language attribute...
- 9Title attribute = tooltipMouse over this paragraph, to display the title attribute as a tooltip.
- 10href attruibute HTML links are defined with the tag. The link address is specified in the href attributeThis is a link
- 11alt Attribute specifies an alternative text to be used, when an image cannot be displayed. The value of the attribute can be read by screen readers
- 12The tag defines a thematic break in an HTML page, and is most often displayed as a horizontal rule.This is heading 1
This is some text.
This is heading 2
This is some other text. - 13The element is a container for metadata. HTML metadata is data about the HTML document. Metadata is not displayed. The element is placed betweenthe tag and the tag:My First HTML
- 14The HTML Element The HTML element defines preformatted text.The text inside a element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks:
- 15HTML style attributes
- 16Style: ColourI am normal
I am red
I am blue - 17Style: Font sizeI am big
- 18HTML background colour
- 19HTML text colourThis is a heading
This is a paragraph. - 20HTML fontsThis is a heading
This is a paragraph. - 21HTML Text SizeThis is a heading
This is a paragraph. - 22HTML text alignmentCentered Heading
Centered paragraph. - 23- Bold text
- 24Important text
- 25Italic text
- 26Emphasized text
- 27Marked text (highlighted)
- 28Small text
- 29Deleted text (crossed out)
- 30Inserted text (underlined)
- 31Subscript text
- 32Superscript text
- 33Quotation
- 34Block quote (indent)
- 35Abbreviation (Acronym +tool tip)The WHO was founded in 1948.
- 36Contact Inforamtion(italicises)
- 37Citation (Title)(italicises)
- 38Bidirectional OverrideThis line will be written from right to left
- 39Comment{comments do not display - can be used for debugging - remove code to search for errors}
- 40background colourName:
Background-color set by using red
{OR use RGB or Hex values} - 41CSSInline - by using the style attribute in HTML elements
Internal - by using a element in the <head> section
External - by using an external CSS file
Información
- Descripción
- Learning Content Manager Cybersecurity Course Fichas sobre basic, creado por Sarah Egan el 24/07/2017.
- Creado por
- Sarah Egan
- Visitas
- 0
- Valoración