#webtech1

All Messages

Nityesh Agarwal December 19, 2019 at 08:25 PM

my ct2:
4a. DTD:
<!ATTLIST payment type (check|cash) "cash">

XML example:
<payment type="check" />
or
<payment type="cash" />

Nityesh Agarwal December 19, 2019 at 07:56 PM

xml namespace:
XML Namespaces provide a method to avoid element name conflicts. In XML, element names are defined by the developer. This often results in a conflict when trying to mix XML documents from different XML applications. When using prefixes in XML, a namespace for the prefix must be defined.

<root>

<h:table xmlns:h="http://www.w3.org/TR/html4/">
  <h:tr>
    <h:td>Apples</h:td>
    <h:td>Bananas</h:td>
  </h:tr>
</h:table>

<f:table xmlns:f="https://www.w3schools.com/furniture">
  <f:name>African Coffee Table</f:name>
  <f:width>80</f:width>
  <f:length>120</f:length>
</f:table>

</root>

Nityesh Agarwal December 19, 2019 at 07:41 PM

XML Naming Rules
XML elements must follow these naming rules:
• Element names are case-sensitive
• Element names must start with a letter or underscore
• Element names cannot start with the letters xml (or XML, or Xml, etc)
• Element names can contain letters, digits, hyphens, underscores, and periods
• Element names cannot contain spaces

Nityesh Agarwal December 19, 2019 at 07:30 PM

reg ex for alphanumeric characters:
/^\w{6,32}$/

Nityesh Agarwal December 19, 2019 at 12:08 PM

2 web servers: Challenger, Apache Tomcat

What is web server?
• On the hardware side, a web server is a computer that stores web server software and a website's component files (e.g. HTML documents, images, CSS stylesheets, and JavaScript files). It is connected to the Internet and supports physical data interchange with other devices connected to the web.
• On the software side, a web server includes several parts that control how web users access hosted files, at minimum an HTTP server. An HTTP server is a piece of software that understands URLs (web addresses) and HTTP (the protocol your browser uses to view webpages). It can be accessed through the domain names (like [mozilla.org](http://mozilla.org)) of websites it stores, and delivers their content to the end-user's device.

Nityesh Agarwal December 19, 2019 at 09:22 AM

2019 semester/ct paper

Nityesh Agarwal September 24, 2019 at 08:16 PM

Answers in the threads of the Q papers

Nityesh Agarwal September 24, 2019 at 08:11 PM

For solving the DOM diagram questions

Nityesh Agarwal September 24, 2019 at 08:01 PM

PDF version

Nityesh Agarwal September 24, 2019 at 07:43 PM

semester last yr

Nityesh Agarwal September 24, 2019 at 07:42 PM

ct1 2019

Nityesh Agarwal September 24, 2019 at 07:41 PM

ct 2018

Tip: Use quotes for exact phrases, "from:username" to filter search results by user