Web Technology Sessional Answers
Web Technology Sessional Answers
Section-A
What is dynamic html?
Dynamic HTML, or DHTML, refers to a collection of technologies used to create interactive
and animated websites by dynamically changing a web page's content and layout after it has
loaded. Unlike static HTML, where content remains fixed, DHTML combines HTML, CSS,
and JavaScript to allow for responsive elements that can change in response to user actions.
What is CSS?
CSS (Cascading Style Sheets) is a language used to style and design web pages. It allows
developers to control the layout, colors, fonts, and spacing of elements in HTML documents.
By using CSS, you can make your website look more visually appealing and organized. It
separates content (HTML) from presentation (CSS), making the design process easier and more
flexible.
Section-B
Parser:
A parser is a tool or program that reads XML documents and interprets them according to a
specified grammar (such as DTD or XML Schema). It helps validate the structure of an XML
file and extract the data. There are two main types of parsers:
1. DOM (Document Object Model) Parser: Loads the entire XML document into
memory and creates a tree structure that can be traversed.
2. SAX (Simple API for XML) Parser: A stream-based parser that reads the XML
document sequentially and triggers events when it encounters elements or attributes.
Key Features:
• Validation: Ensures the XML document adheres to the specified rules (DTD or XML
Schema).
• Data Extraction: Extracts data from XML based on the structure defined by the
schema or DTD.
• Efficiency: DOM loads the whole document, whereas SAX processes data as it reads,
which is more memory efficient.
Section-C