Skip to main content

Posts

Showing posts from January, 2012

Different Functions Of Operating Systems

Topic: Different Functions Of Operating Systems What is an Operating System? Operating systems are an important type of system software. They provide a lot of facilities to the users. An operating system can be defined as software that acts as an interface between the end user and the hardware. Computer users can use computer systems that have an OS or operating system installed. For example, Microsoft Windows is a popular PC operating system. What is the Importance of Operating System in Computer? Each computer must have at least one operating system to run other programs. for example, if there is no operating system in your computer, you will not be able to use the computer. When you install an OS like Microsoft Windows on your computer, it displays its GUI that is Windows desktop on startup. Now you can use your computer with the help of graphical user interface elements like icons, menus, shortcuts on your computer screen. Similarly if you wish to install application prog

Explain Different Components of Operating System

Topic: Explain Different Components of Operating System Q. What is an Operating System? Explain Components of an Operating system. Operating System An operating system is a set of programs that manages all computer components and operations. An operating system works as an interface between the user and the computer hardware. Examples of Operating Systems Some popular operating systems are DOS, windows, Unix, Linux, and OS/2. Without Operating System, a computer cannot do anything. Users interact with the computer through operating system. Operating system acts as an interface between a user and computer hardware. Components of an Operating system An Operating system has many components to manage all resources of a computer system as following: 1.    Process Management CPU can perform one task at one time. If there are many tasks, operating system decides which task should get the CPU first. 2.     Main Memory Management Operating system manages memory (RAM)for

Attributes of TR Tag in HTML Tables

Use Of TR Tag <TR> tag is used to create rows in HTML Tables. <TR> is the opening tag to start a row and </TR> is a closing tag to end a row. You can place pairs of <td>...</td> tags to create data cells in a row within the <tr>...</tr> tags. for example to create a row with only one cell containing data "Apples", we will use the following html code.and Mangoes respectively: <tr> <td>Apples</td> </tr> Apples If you want to create a row with two cells containing data "Apples" and "Mangoes" respectively, we will use the following html code. <tr> <td>Apples</td> <td>Mangoes</td> </tr> Apples Mangoes You canm also create a header row with the help of <TR> tag and <TH> tags. For example, to create a header row with two header cells with contents "Employee" and "Salary", we will use the following HTML co

Attributes of Table Tag

Border: It is used to specify a border and its thickness for a table. Cellspacing: It is used to specify the distance between adjacent cells in a table. Cellpadding : it is used to specify the distance between a cell and cell contents in a table. Width : It is used to specify width of a table in pixels or as percentage to screen width. Align : It is used to specify the horizontal alignment of a table. Possible horizontal alignment values are "left", "right" or "center". Valign : It is used to set the vertical alignment of a table as "top", "bottom" or "middle". Bgcolor : It sets the background color of a table. You can specify color names or hex values for the color. Example of table with border=1, width=200 and align=center attributes HTML Coding: <table border="1" width="200" align="center"> <tr> <th>Book</th><th>Price($)</th> </tr> <

Difference between Cellspacing and Cellpadding

Cellspacing and Cellpadding are two important attributes of  <Table> tag. As you know <Table> tag is used to create and display tables in HTML documents. What is CELLSPACING? Cellspacing is an important attribute of <Table> tag in HTML. Cellspacing specifies the spacing between adjacent cells in a table. Consider the following example of an HTML table with cellspacing attribute set to 50. Example of Cellspacing use <TABLE border="1" cellspacing="30"> <th>Name</th><th>Marks</th> <tr><td>Sajid Mahmood</td><td>666</td> <tr><td>Majid Karim</td><td>555</td> </table> Name Marks Sajid Mahmood 666 Majid Karim 555 Example of Cellspacing=15 <TABLE border="1" cellspacing="15"> <th>Name</th><th>Marks</th> <tr><td>Sajid Mahmood</td><td>666</td> <tr><td>Majid K

Use Of Colspan and Rowspan in Tables HTML

Colspan and Rowspan are two important attributes of TD and TH tags used in HTML tables. Colspan Colspan is an attribute of TD or TH tags used to make data cells and header cells in an HTML table. We can use Colspan to expand / span a cell on many columns. For example, in the following table, the first header cell spans two columns, so here we use <th colspan="2">Marks</th> to get the required result in the displayed html table. Marks Maths Computer 100 87 The complete HTML coding is as follows: <table border="1"> <tr> <th colspan="2">Marks</th> </tr> <tr> <th>Maths</th><th>Computer</th></tr> <tr> <td>100</td><td>87</td> </tr> </table> Rowspan Rowspan attribute is used to expand or span a cell to multiple rows. For example, in the following table example, the first TH cell (Marks) spans on two rows. We use <th row

HTML Table Tag Basics

Tables Tables are very important to show data in the form of rows and columns. Tables make data more readable and easy to understand. A table consists of rows, columns and cells. HTML Tags To Make A Table As we know that there are basically three elements in a table, that is, rows, columns and cells. So, there are the following basic tags to create a table in an HTML web page: <TABLE> tag <TR> tag <TD> tag <TH> tag   <TABLE> Tag <Table> tag is used to specify the start of a table. It also specifies some attributes of the table like ALIGN and BORDER attributes etc. Example 1: <Table>                    => Table without a border. Example 2: <Table border="1">     => Table with a border of width 1. Example 3: <Table align="left" border="2">  => A left aligned Table with a border of width 2. <TR> Tag TR stands for TABLE ROW. As the name shows, <TR> tag is used to create a ro

Different Types of Text Formatting Tags in HTML

There are many Text formatting tags available in HTML. You can format your text as: Bold Text Italic Text Underline Text Superscript Text Subscript Text Let us discuss these formatting tags one by one with example html source code and the output in web browser. 1. Bold Text <b> tag is used for formatting the text as bold text. You place the text within <b> and </b> tags to make it bold. 2. Italic Text <i> tag is used for formatting the text as italic text. You place the text within <i> and </i> tags to make it italic. 3. Underline Text <u> tag is used for formatting the text as underline text. You place the text within <u> and </u> tags to make it underline. 4. Superscript Text <sup> tag is used for formatting the text as superscript text. You place the text within <sup> and </sup> tags to make it superscript. 5. Subscript Text <sub> tag is used for formatting the text as bold text. You p

Types Of Headings In HTML

HTML Hedings Headings in HTML are used to display Titles, Sub-Titles of Sub-Sub-Titles for your web page text. There are six types of headings in HTML. H1 is the largest heading and H6 is the smallest heading. <H1> is opening tag whereas </H1> is the closing tag for the largest heading. The text between <h1> and </h1> will be displayed as the main Title in your web page. Following are the six tags used for six types of headings in HTML. <H1> ... </H1> <H2> ... </H2> <H3> ... </H3> <H4> ... </H4> <H5> ... </H5> <H6> ... </H6> The H1 heading is used for main titles. Actually H1 heading will show the text in largest font size. H2 headings is used for Sub-Titles. H2 displays text in smaller font size than H1, H3 displays text of font size smaller than H1 and H2, and so on. H1 is for largest heading in a text page and H6 is for smallest heading.   Importance Of Headings in SEO Headi