Docsity

Lesson 1 HTML5 Essentials., Exams of Advanced Education

Toggle sidebar
bg1
1 | P a g e
Lesson 1 HTML5 Essentials.
HTML5 - ANSWERMarkup language used for structuring and describing Web
page content
Cascading Style Sheets (CSS) - ANSWERStyle sheet language that provides the
formatting and "look" of a Web page or document written in a markup
language. CSS commands contain formatting instructions that can define the
font, color and display of phrase elements used on a particular markup page.
JavaScript - ANSWERScripting language that provides dynamic, interactive
capabilities to Web pages
HTML5 family - ANSWERHTML5, CSS and JavaScript as a group.
HTML 4.01 Transitional - ANSWERAllowed developers to insert formatting
using either CSS or traditional layout instructions.
HTML 4.01 Strict - ANSWERRequired the separation of presentation and
content. Deprecated tags were disallowed and generated validation errors.
HTML 4.01 Frameset - ANSWERRequired for pages that used HTML frames,
which placed Web pages inside each other to create separate panes in the
browser window.
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download Lesson 1 HTML5 Essentials. and more Exams Advanced Education in PDF only on Docsity!

Lesson 1 HTML5 Essentials.

HTML5 - ANSWERMarkup language used for structuring and describing Web page content Cascading Style Sheets (CSS) - ANSWERStyle sheet language that provides the formatting and "look" of a Web page or document written in a markup language. CSS commands contain formatting instructions that can define the font, color and display of phrase elements used on a particular markup page. JavaScript - ANSWERScripting language that provides dynamic, interactive capabilities to Web pages HTML5 family - ANSWERHTML5, CSS and JavaScript as a group. HTML 4.01 Transitional - ANSWERAllowed developers to insert formatting using either CSS or traditional layout instructions. HTML 4.01 Strict - ANSWERRequired the separation of presentation and content. Deprecated tags were disallowed and generated validation errors. HTML 4.01 Frameset - ANSWERRequired for pages that used HTML frames, which placed Web pages inside each other to create separate panes in the browser window.

What are the 3 HTML 4.01 flavors? - ANSWERHTML 4.01 Transitional, HTML 4.01 Strict, HTML 4.01 Frameset XHTML - ANSWERExtensible HTML (XHTML) is a version of HTML that incorporates the strict syntax rules of Extensible Markup Language (XML) with the existing set of HTML 4.01 tags to create Web documents. Like HTML 4.01, XHTML has three flavors: Transitional, Strict and Frameset. What 2 languages are capable of creating both apps and Web pages. - ANSWERHTML5 and CSS Hyperlink - ANSWERA set of instructions embedded within a file that calls another location in the file or a separate file when the link is clicked. The global set of linked documents across the existing Internet framework grew into what is known as the World Wide Web. Which 2 HTML versions are older but functional HTML standards. Some Web pages and HTML editors still contain this older code? - ANSWERHTML 3.2 and HTML 4 Which HTML version contained many improvements over HTML 3.2, most notably the addition of Cascading Style Sheets (CSS) for formatting? - ANSWERHTML 4 You specify the flavor of HTML by using what document type declaration? - ANSWER Will some older Web sites still contain code created with HTML 4.01? (True/False) - ANSWERTrue

  1. Establishes ways to enable drag-and-drop capability for Web pages without using third-party add-ons.
  2. Gives developers more native tools to use on a page, such as download progress indicators, image captioning options and form validation.
  3. Provides developers with a native option for offline storage, and enables applications to run as expected even without network connectivity.
  4. Allows developers to retrieve the geographical location information for a Web site visitor. This technology is called geolocation. Examples include using the global positioning system (GPS) of a mobile device to determine the device's location, which allows Web services to be provided based on the client's location. Which other 3 languages are used to enhance a page? - ANSWERJavaScript, JScript and VBScript. CSS is the markup language that defines page structure, hyperlinks and graphics to enable pages to render in Web browsers and other devices. (True/False) - ANSWERFalse CSS commands determine how HTML elements will display in Web pages. (True/False) - ANSWERTrue XHTML is a version of HTML that will validate without the need to follow the strict syntax rules of XML. (True/False) - ANSWERFalse HTML5 is the first version of HTML to make use of CSS. (True/False) - ANSWERFalse

You use the declaration to specify the variant of HTML you are using to develop your Web pages. (True/False) - ANSWERTrue HTML5 is designed to eliminate the need for third-party plug-ins and add-ons during Web development. (True/False) - ANSWERTrue The HTML 4.01 Recommendation contained many improvements from HTML 3.2, most notably the and elements. (True/False) - ANSWERFalse You can incorporate scripting languages and specialized content created with programs and technologies such as Java, ActiveX, Microsoft Silverlight and Adobe Flash into HTML5 Web pages. (True/False) - ANSWERTrue The developers of HTML5 created specific elements to define the document structure. What are these 7 elements? - ANSWER, , , , , and

  • ANSWERDefines the top of the Web page, similar to the header in a word-processing document. Also can be contained in article, aside, nav, main and section elements to provide a header in those areas. Ex. General topic description for the content below it, Company logo, News headlines
  • ANSWERDefines the main content of the document body cannot be the child of the header, nav, article, aside or footer elements. Ex. Content is directly related to the subject of the document.
  • ANSWERDefines an area for navigation links. Ex. A hypertext menu to access various pages of the Web site.

Defines portions or areas of a document; typically consists of a group of articles or images? - ANSWER Defines site content accompanying the main content; typically includes company services, blogs, images, tweets, and so on? - ANSWER Defines content that is supplementary to the main content; typically includes advertisements or news feeds? - ANSWER Defines the bottom of the Web page; typically includes copyright and contact information? - ANSWER Code validation - ANSWERThe process of checking your code to verify that it complies with the syntax rules for your chosen standard. After you have checked your code and corrected any discrepancies, a code validator confirms that your code is compliant, and thus "validated." Validating your markup code is worthwhile because validated code is most likely to be interpreted accurately by the majority of user agents. As a result, you have a better chance of your pages rendering as you expect and to a larger audience. (True/False0 - ANSWERTrue Make sure you adopt a single W3C standard (e.g., HTML5 or XHTML) and apply it consistently so that when you validate your markup code, the code will match the DTD (standard syntax rules) that you specify. (True/False) - ANSWERTrue Note that code validators check your file's code for standard compliance, and some will specify problems or direct you to problem locations. However,

validators do not correct the code for you โ€” you must correct your code manually. (True/False) - ANSWERTrue What are the 3 tips for validating your markup code? - ANSWER1. Do not be discouraged when you see multiple problems reported for a page. Sometimes one small flaw can cause the remaining code on the page to fail validation, even if the remaining code is actually valid.

  1. When errors are reported, search through the code carefully to find the true problem. Sometimes when a validation program finds a problem, it does not report the correct cause or it may not report the cause clearly.
  2. Make sure that you are validating the correct file. Good Web page coding generally involves ensuring that the content is rendered appropriately regardless of the browser used to render it. To ensure this type of consistent, or universal, rendering, Web page developers can apply certain practices to their coding that result in universal markup. which are: - ANSWER1. Follow W3C standards carefully.
  3. Choose one standard version of any given language you use, and apply that standard consistently throughout your document, pages or site. Creating universal markup code is important for several reasons. Which are: - ANSWER1. Your pages will be ensured to render in future versions of most browsers.
  4. Your pages will be more scalable. This means that as you add more sophisticated content, make pages searchable or use the content in ways you have not yet imagined, you can still use markup you created without having to revise the code extensively.
  5. Your pages will be more accessible to all users, including those with disabilities. You will be able to more easily make your pages compliant so that your site is available to the widest possible audience and does not present a liability to your organization.

loop="loop" - ANSWERSpecifies that the audio or video file will play over and over again without stopping. autoplay="autoplay" - ANSWERSpecifies that the video will automatically play immediately upon loading. What type of format is WebM? - ANSWERVideo What type of format is MP3? - ANSWERAudio What type of format is WAV? - ANSWERAudio What type of format is Ogg? - ANSWERVideo and Audio What type of format is MP4? - ANSWERVideo and Audio Application programming interface (API) - ANSWERA source code specification that enables components of an application or program to work together to produce the desired functionality. HTML5 APIs provide an open environment for developing Web applications that does not rely on proprietary browser plug-ins. HTML5 APIs consist of the trifecta technologies which are: - ANSWERHTML5, CSS and JavaScript. These technologies are used together to provide Web pages that can easily adapt to smartphones, tablets, gaming devices and smart TVs, as well as to traditional desktop computers.

Some functions of the HTML5 APIs include: - ANSWER1. Media (audio and video).

  1. Document editing.
  2. Cross-document messaging.
  3. MIME type and protocol handler registration.
  4. Web storage. offline storage - ANSWERThe ability for Web browsers and online services to download and access content and services without being connected to the Internet. aside - ANSWERAn HTML5 element that contains content such as advertisements, highlighted resource links and other secondary content on a Web page. geolocation - ANSWERA technology that allows developers to retrieve the whereabouts of a Web site visitor. CSS - ANSWERA technology that allows greater style definition and formatting control of HTML elements. JavaScript - ANSWERA technology that provides dynamic, interactive capabilities to Web pages. article - ANSWERAn HTML5 element that contains main Web site content, such as company services, blogs, images and videos.

MPEG-4 (MP4) - ANSWERA streaming, digital multimedia format used to store video, audio, subtitles and still images.