Web Programming using PHP, Semester 4(2020), Model examination, July 2022
1. HTML tags contain three main parts: opening tag, content and closing tag. But some HTML tags are unclosed tags. Container tag consists of opening tag+content+closing tag. While empty tag is tag without content or a closing tag. Container tags are used to enclose texts, images etc. 2. The new operator allows the developers to create an instance of a user-defined object type or of one of the built-in object types that has a constructor function. The new operator is an operator which denotes a request for memory allocation on the Heap. If sufficient memory is available, new operator initializes the memory and returns the address of the newly allocated and initialized memory to the pointer variable. The new operator is used in Javascsript to create new objects. It can also be used to create an array object. 3. Cookies are files that hold information about you, your web browser and your behavior on the internet. They are tiny files stored on your PC or device, which can be use...