Definitions Flashcards
Tags
HTML tags are used to hold the HTML element
HTML tag starts with < and ends with >
HTML tags are almost like keywords where every single tag has a unique meaning
HTML Element
HTML Element holds the content
Whatever written within a HTML tag are HTML elements
HTML elements specify the general content
HTML attributes
Syntax: lang=“it-it”
Attribute name: lang
Attribute value: it-it
HTML attributes are used to describe the characteristic of an HTML element in detail
HTML attributes are found only in the starting tag
HTML attributes specify various additional properties to the existing HTML element
Link to a CSS file
Class
A class is a non-unique identifier for html elements. It can be used in a variety of ways:
- For styling elements with CSS
- For accessing those elements with javascript
Emmet
Emmet is a plugin for many popular text editors that greatly improves HTML and CSS workflow
meta tags
The tag defines metadata about an HTML document. Metadata is data (information) about data.
tags always go inside the element, and are typically used to specify character set, page description, keywords, author of the document, and viewport settings.
Metadata will not be displayed on the page, but is machine parsable.
Metadata is used by browsers (how to display content or reload page), search engines (keywords), and other web services.
There is a method to let web designers take control over the viewport (the user’s visible area of a web page), through the tag (See “Setting The Viewport” example below).
responsive web design
Responsive web design makes your web page look good on all devices.
Responsive web design uses only HTML and CSS.
Responsive web design is not a program or a JavaScript.
metadata
metadata are information about data
set the viewport
formal language
a language is formal when the syntax is rigorously defined and the language is not ambiguous
artificial language
a language is artificial when it is created for a defined scope