Category: Business Analysis
-
What is the difference between an absolute and relative URL?
An absolute URL includes the full web address, the protocol (such as http or https) and the domain name (such as www.example.com). A relative URL, on the other hand, specifies the location of a resource relative to the current web page. For example, a relative URL might include the file path (such as /images/picture.jpg) or…
-
What is the difference between HTML and XHTML?
HTML and XHTML are both markup languages used to create web pages. However, XHTML is stricter than HTML and requires developers to write well-formed code that adheres to specific rules and guidelines. XHTML also requires all tags to be closed and all attributes to be quoted.
-
What is the ‘class’ attribute in HTML?
The ‘class’ attribute in HTML defines a class for an HTML element. It can be used to apply a specific style to a group of elements on a web page.