Which of the following will you use for laying out a Web page for navigation?
A.
JavaScript
B.
HTML
C.
Table
D.
CSS
Explanation:
The use of CSS is now the standard technique for laying out a Web page with the division element.
Using CSS for page layout will allow the Web page to comply with the XHTML standard. Cascading
Style Sheets (CSS) is a style sheet language used to describe the presentation (that is, the look and
formatting) of a document written in a markup language. Its most common application is to style
Web pages written in HTML and XHTML, but the language can be applied to any kind of XML
document, including SVG and XUL.
Cascading style sheets (CSS) is used so that the Web site authors can exercise greater control on the
appearance and presentation of their Web pages. And also because CSS increases the ability to
precisely point to the location and enhance the look of elements on a Web page and helps in
creating special effects. Cascading Style Sheets contains code that is interpreted and applied by the
browser on to the Web pages and their elements. There are three types of Cascading Style Sheets,
which are as follows:
External Style Sheets
Embedded Style Sheets
Inline Style SheetsAnswer A is incorrect. JavaScript is a simple, light weight, and dynamic World Wide Web (WWW)
scripting language developed by Netscape Communications. The syntax of JavaScript resembles that
of C++. JavaScript facilitates integration of HTML documents, Web components, and multimedia
plug-ins. It also aids in the development of server-side Web applications.Answer B is incorrect. HTML stands for Hypertext Markup Language. It is a set of markup symbols or
codes used to create Web pages and define formatting specifications. The markup tells the Web
browser how to display the content of the Web page.Answer C is incorrect. Using a table for page layout will prevent the Web page from complying with
the XMTL standard.