24 Computer -- Web Technology I

What is CSS? Write its advantages.

What is CSS? Write its advantages.

CSS handles the look and feel part of a web page. Using CSS, you can control the color of the text, the style of fonts, the spacing between paragraphs, how columns are sized and laid out, etc.


The following are the advantages of CSS −

  • CSS saves time − You can write CSS once and then reuse the same sheet in multiple HTML pages. You can define a style for each HTML element and apply it to as many Web pages as you want.

  • Easy maintenance − To make a global change, simply change the style, and all elements in all the web pages will be updated automatically.

  • Global web standards − Now HTML attributes are being deprecated and it is being recommended to use CSS. So it's a good idea to start using CSS in all the HTML pages to make them compatible with future browsers.

  • Platform Independence − The Script offer consistent platform independence and can support latest browsers as well.



    More Advantages:-

    • CSS plays an important role, by using CSS you simply got to specify a repeated style for element once & use it multiple times as because CSS will automatically apply the required styles.
    • The main advantage of CSS is that style is applied consistently across variety of sites. One instruction can control several areas which is advantageous.
    • Web designers needs to use few lines of programming for every page improving site speed.
    • Cascading sheet not only simplifies website development, but also simplifies the maintenance as a change of one line of code affects the whole web site and maintenance time.
    • It is less complex therefore the effort are significantly reduced.
    • It helps to form spontaneous and consistent changes.
    • CSS changes are device friendly. With people employing a batch of various range of smart devices to access websites over the web, there’s a requirement for responsive web design.
    • It has the power for re-positioning. It helps us to determine the changes within the position of web elements who are there on the page.
    • These bandwidth savings are substantial figures of insignificant tags that are indistinct from a mess of pages.
    • Easy for the user to customize the online page
    • It reduces the file transfer size.

More questions on Web Technology I

What is a link? Write the various ways of linking a document with another.

The link is a feature in HTML that allows the user to connect two webpages or documents.Alinkhas two ends -- calledanchors-- and a direction. The link starts at the "source" anchor and points to the "destination" anchor, which may be any Web resource (e.g., an image, a video clip, a sound bite, a program, an HTML document, an element within an HTML document, etc.).

HTML links are hyperlinks.

You can click on a link and jump to another document.

When you move the mouse over a link, the mouse...

Define table and write its tag.

he<table>tag defines an HTML table.

An HTML table consists of one<table>element and one or more<tr>,<th>, and<td>elements.

The <tr> element defines a table row, the <th> element defines a table header, and the <td> element defines a table cell.

An HTML table may also include<caption>,<colgroup>,<thead>,<tfoot>, and<tbody>elements.


Example

A simple HTML table, containing two columns and two rows:

<table>
<tr>
...
Close Open App