Libraries Search
Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts

HTML table column width problem

<table width="825" border="0" cellspacing="1" class="tableLines1" cellpadding="0">
   <tr>    
       <td align="left" valign="middle">Account / BIC</td>
       <td align="left" valign="middle">Name</td>
       <td align="left" valign="middle">Email Address</td
   </tr>
   <tr>
       <td ><%=Data.getAccount())%></td>
       <td ><%=Data.getName())%></td>
       <td width="250px"><%=Data.getEmailAddress())%></td>
   </tr>
</table>

Create employee table which have following structure.

Column No.
Column Type
Emp no
Varchar2
Emp name
Varchar2
hiredate
Date
Dept
Varchar2
Desig
Varchar2
Salary
Number
Hra
Number
Da
Number
Pf
Number
Tax
Number
Ma
Number
Net salary
Number

1.      Dept. should be MKT, ADM, SALES.
2.      Desig. Should be EXE, ACC, MGR, CLK.
3.      Calculate the hra as per the following condition.
a.   HRA                           CONDITION. (AS PER DESIG.)
6% of salary                MGR
4.5% of salary             EXE
3% of salary                ACC
1.5% of salary             CLK
4.      Calculate the da as per the following condition ( % of Basic).

Desig




Dept
MKT
49%
47%
45%
43%
ADM
47%
45%
43%
41%
SALES
45%
43%
41%
39%

5.      Calculate the pf as per the following condition.

PF                                CONDITION (AS PER DEPT)
3.5% of salary             MKT
2.5% of salary             ADM
1.5% of salary             SALES

6.      Calculate the tax as per the following condition.

CONDITION (AS PER SALARY)   Tax     MA

Salary > =10000                                  500      350
Salary >6000 & <10000                      400      250
Salary <6000                                       300      150

Net Salary = (salary+hra+da+ma)-(pf+tax)

HTML,

HTML,

which stands for HyperText Markup Language, is the predominant markup language for web pages. HTML is the basic building-blocks of webpages.
HTML is written in the form of HTML elements consisting of tags, enclosed in angle brackets (like <html>), within the web page content. HTML tags normally come in pairs like <h1> and </h1>. The first tag in a pair is the start tag, the second tag is the end tag (they are also called opening tags and closing tags). In between these tags web designers can add text, tables, images, etc.
The purpose of a web browser is to read HTML documents and compose them into visual or audible web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page.
HTML elements form the building blocks of all websites. HTML allows images and objects to be embedded and can be used to create interactive forms. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. It can embed scripts in languages such as JavaScript which affect the behavior of HTML webpages.
Web browsers can also refer to Cascading Style Sheets (CSS) to define the appearance and layout of text and other material. The W3C, maintainer of both the HTML and the CSS standards, encourages the use of CSS over explicitly presentational HTML markup.