Chapter 1 Flashcards
What is a HTML5?
Hypertext Markup Language
It is used for web design and development
(Should not be confused with other programming languages = Visual basic, Java, C++, C# etc.)
What is w3s?
World Wide Web Consortium = it is an international community which sets a standard.
Is HTML5, CSS3 and Javascript considered to be platform-independent technologies.?
Yes. It can run in any OS as long it has a browser.
Where can you go to check if your browser supports the features of HTML5?
go to html5test.com
What is CSS?
Cascading Style Sheet + it works with HTML5 to separate content from the styling.
It provides styling text fonts, colors, contents and layout of the pages.
It is now able to work with text effects, transformations, animations, rounded corners, gradients, borders, backgrounds, images and more.
How does CSS work?
It allows elements of the same type, name or class to be styled as needed across several web pages at once.
Markup tags?
HTML uses markup tags to describe the type of content that will be used in the construction of a web page = html document.
Tags? Pair, empty?
Pair tag = start and end tag (has forward slash). It uses angle brackets.
It is not case sensitive.
Content Goes here!
Empty tags; Single tag. Break tag is used to move content down the HTML document one line. <br></br>
Examples of empty tags = <hr> <img></img>
What is HTML elements?
It includes the content, start and end tags.
What is deprecated elements?
There are elements that will no longer be supported by the W3C standards and therfore browsers will stop displaying deprecated elements.
Some browsers do still display deprecated elements, but eventually it will not longer be displayed.
It is recommended to stop using these tags.
What are HTML attributes?
Allows developer to specify additional information about the element.
Attributes must be placed in the start tag with a space following the tag name and each attribute name should be immediately followed by an equals and the value of the attribute wrapped in double quotes
Content
What are common global attributes?
id = specifies unique identifier that the element will be referenced by in JavaScript, CSS and HTML document.
class= The class attribute is similar to a group that the element belongs to and multiple elements can be assigned to the same class.
style =The style attribute is a way of embedding CSS style properties inside of the HTML element. This is most often done to override styles that are set globally to the HTML document or to a class that the element belongs to.
What are new HTML 5 Global Attributes?
contenteditable
spellcheck
hidden
draggable
What is a declaration tag?
is a declaration tag used by the browser to identify what type of document specifications the browser should use to render the HTML markup.
What is a character encoding?
The character encoding for an HTML document specifies the standard used to define special characters and how the browser should render and interpret those characters. The character encoding is set in the tag which should be nested inside of the head tag.