Top questions

Post

New Post


Find by name:



QUESTION


Differentiate logical tags from physical tags?


There are several pointers that make local tags different from physical tags: Physical tags are used to indicate how a particular character is to be formatted logical tags are used to indicate by the visually impaired and put emphasis on the text. Physical tags are also referred to as presentational mark-up Logical tags are useless for appearances Physical tags are newer versions Logical tags are old and concentrate on content


How can you integrate CSS on a web page?


CSS can be integrated in three ways: Inline: term is used when the CSS code have attribute of HTML elements External: separate CSS file is created in the workspace and later linking them in every web page that is created Internal: the head element of the web page has internal CSS implemented in it.


In how many ways can a CSS be integrated as a web page?


Cascading style sheets or CSS is a web designing language simple for HTML elements. The application is commonly known as XHTML. It is basically used to simplify the process and make the web page look presentable.


What are the advantages of CSS?


There are a number of advantages of CSS, It gives lots of flexibility for setting the properties of the element Easy maintenance It allows separation of content of the HTML document from the style and layout of the content basically Loading of pages at a faster pace Compatibility with multiple device Increases the website’s adaptability and makes it compatible to future browsers.


What are the limitations of CSS?


There are several limitations of CSS such as: CSS can’t fulfill turning completeness hence, it can never perform logical like ‘if/else’, for/while, etc, or arithmetical tasks One cannot read files using CSS It cannot provide total control over document display and allows the contents of the page to come through whatever the browser is used. Ascending by selectors is not possible Limitations of vertical control No column declaration Pseudo-class not controlled by dynamic behavior Rules, styles, targeting specific text not possible.


What benefits and demerits do External Style Sheets have?


The advantages of External Style sheets are: The style of several documents can be controlled from site by using them. Multiple HTML elements can have many documents, where classes can be created. To group styles in complex situations, selector and grouping methods are used. Demerits of external CSS are as follows: Extra download is needed to import documents having style information. To render the document, the external style sheet should be loaded. Not practical for small style definitions.


What is Pseudo-elements?


Pseudo-elements are keyword added to the selector that allows one o style a specific part of the selected element. CSS in used to apply styles in HTML mark-up. In some cases when extra mark-up or styling is not possible for the document, then there is a feature available in CSS known as pseudo-elements. It will allow extra mark-up to the document without disturbing the actual document. It can be used for; To style the first letter, line or element to insert a content.


What is the purpose of the z-index and how is it used?


The z-index helps specify the stack order of positioned elements that may overlap one another. The z-index default value is zero, and can take on either a positive or negative number. An element with a higher z-index is always stacked above than a lower index. Z-Index can take the following values: Auto: Sets the stack order equal to its parents. Number: Orders the stack order. Initial: Sets this property to its default value (0). Inherit: Inherits this property from its parent element.



Back to HomePage