HTML Lesson 2 Terms
Doctype
A declaration that is found at the very top of almost every HTML document. When a Web browser reads this, it assumes that everything on the Web page uses the language or rules specified in the declaration.
Scalable Vector Graphics (SVG)
A language for describing 2D graphics in XML.
<head>
Contains markup and code used by the browser, such as scripts that add interactivity, and keywords to help search engines find the page. Content can also include formatting styles for the page.
<hx>
Creates a heading, which can be first level (h1) through sixth level (h6)
<basefont>
Defines a default font color, font size, or font family for all the text in a document. Use CSS for applying all fonts. This tag is considered depreciated.
<dir>
Defines a directory list. Use the <ul> tag instead. This tag is considered depreciated.
<frameset>
Defines a frameset for organizing multiple frames (windows). This tag is considered depreciated.
<frame>
Defines a particular frame (a window) within a frameset. This tag is considered depreciated.
<acronym>
Defines acronyms in HTML4 that can be spoken as if they are a single word, such as GUI for graphical user interface. Use the <abbr> tag instead. This tag is considered depreciated.
<applet>
Defines an embedded applet. Use the <object> tag instead. This tag is considered depreciated.
<strike>
Defines strikethrough text. Use the del> tag instead for small amounts of text, or use CSS for large blocks of text. This tag is considered depreciated.
<tt>
Defines teletype or monospaced text. Use the <code> tag or CSS instead.
<p>
Defines text as a paragraph.
controls Attribute
Displays a set of controls for playing, pausing, and stopping the video, and controlling the volume.
poster Attribute
Displays a static image file before the video loads.
<noframes>
Displays text for browsers that don't support frames. This tag is considered depreciated.
<title>
Displays the title of the Web page, which appears at the top of the Web browser, usually on the page's tab in a tabbed browser.
audio Element
Enables you to incorporate audio such as music and other sounds, in HTML documents You can include the same control-related attributes as the video element (autoplay, controls, and loops)
video Element
Enables you to incorporate videos in HTML documents using minimal code.
<a href="URL">
Generally used to anchor a URL to text or an image; can also create a named anchor within a document to allow for linking to sections of the document.
<small>
The small element should be used for small print or side comments. This element is useful for copyright lines or adding a source line to an image.
<time>
This element indicates content that is a time or date, which can be made machine-readable with the datetime attribute. This element defines time on a 24-hour clock and a date in the Gregorian calendar. One benefit of making times and dates machine-readable on your Web page is that it helps search engines produce better search results.
<em>
This element indicates emphatic stress.
<strong>
This element is for strong importance, where the content is more important than nearby words.
<I>
This element is now used for text in an "alternate voice or mood." This could be spoken text, or something similar that doesn't convey importance or emphasis. It may also include technical terms and transliterated foreign words.
<command>
This element is used to define a command button that users click to invoke a command. This element has many attributes you can use, such as type, label, title, icon, disabled, checked, and radiogroup.
<mark>
This element is very handy for highlighting text on a page. You could use it on a search results page, for example, or to set off a block of text that you want to draw to the reader's attention.
<!doctype html>
doctype tag
Copyright
© ©
Degree
° °
Dollar
$ $
Percent
% %
Registered Trademark
® ®
figcaption Element
Optional image element. Adds a caption to a picture.
Entity
A special character such as the dollar symbol, the registered trademark, and accented letters. Begin with an ampersand and end with a semicolon.
Element
A tag pair or empty tag.
<b>
Applies boldface to text. This commonly used element has always been represented boldface, and was often used for emphasis or to convey importance. The W3C suggests you now use it to indicate "stylistically offset" text without conveying importance. Use for keywords, product names, and actionable items.
Global Attributes
Attributes that can be used with any HTML5 element, such as id, lang, and class.
type Attribute
Can be set so that multiple format options are available.
<center>
Center-aligns text and content. Use CSS or <div> tags instead. This tag is considered depreciated.
<html>
Identifies the page as an HTML document. Encompasses everything on the page other than the doctype declaration at the top.
<source>
Identifies what is being used as content in a video.
Vector Image
Image made up of lines and curves based on mathematical expressions.
Raster Image
Image made up of pixels.
<img>
Inserts an image from a file or another Web site.
Raster Formats
JPG, PNG, GIF, BMP
Tags
Keywords that help to give and HTML page structure.E
<big>
Makes text bigger relative to the current font size. Use CSS instead. This tag is considered depreciated.
Attributes
Modifiers of HTML elements that provide additional information. (<tag attribute="value">)(Ex. <a href="http://www.example.com">This is a link.</a>)
Canvas Element
New in HTML5. Creates a container for graphics, and uses JavaScript to draw the graphics dynamically.
Nesting
Placing one element inside another.
Compression
Reduces the amount of space needed to store a file, and it reduces the bandwidth needed to transmit the file.
Video Compression
Reduces the size of video images while retaining the highest quality video with the minimum bit rate.
Deprecation
Removing elements/attributes from HTML because their functionality is no longer useful.
loop Attribute
Repeats the video.
alt Attribute
Specifies alternate text for the image which displays when the user hovers that mouse pointer or other pointing device over the image. Value=Text
usemap Attribute
Specifies an image as a client-side image map (which is a picture with defined areas that are clickable links). value=#mapname
ismap Attribute
Specifies an image as a server-side image map. Value=ismap
<font>
Specifies the font face, font size, and font color of text. Use CSS instead. This tag is considered depreciated.
height Attribute
Specifies the height of an image. Value=px
src Attribute
Specifies the image's location, such as a path or URL. Value=URL
Figure Element
Specifies the type of figure you're adding, such as an image, diagram, photo, and so on. This element provides a major benefit: the ability to easily add multiple images side by side.
width Attribute
Specifies the width of an image. Value=px
autoplay Attribute
Start playing the video automatically upon page load.
Empty Tags
Tags that do note require a closing tag. (<br /> or <hr />)