Vous êtes sur la page 1sur 5

DHTML What is the features of DHTML? Some most important features of DHTML are given below: 1.

Using DHTML we can change the tags and their properties. 2.It is use for Real-time positioning. 3.It is used to generate dynamic fonts (Netscape Communicator). 4.Used for Data binding (Internet Explorer). What is the difference b/w DHTML and HTML? Some main difference b/w DHTML(Dynamic HTML) and HTML(Hyper Text Markup Language)are given below. 1.Using DHTML we can use JavaScript and style sheets in our HTML page. 2.Using DHTML we can insert small animations and dynamic menus into our HTML page. 3.If use want that your web page display your DHTML effects(object or word can highlighted, larger,a different color etc) than you have to save your web page with .dhtml extension except .html or .htm . What is DHTML? "Dynamic HTML is a term used by some vendors to describe the combination of HTML, style sheets and scripts that allows documents to be animated." DHTML stands for Dynamic HTML.DHTML is not an language. Using DHTML we can use DOM, CSS , JavaScript and HTML together. We use DHTML to make the web pages dynamic and interactive. Tell about technologies that we use in DHTML? Some technologies that we used in DHTMl are given below: 1.JavaScript 2.HTML DOM 3.HTML EVENT 4.CSS 1.JavaScript: It is an standard of scripting for HTML. Using JavaScript DHTML can control,access and manipulate HTML element. 2.HTML DOM: It is an Document Object Model which is an W3C Standard for HTML.Using HTML DOM is used to define standard to set of objects and to access and manipulate them for HTML.Using HTML DOM, DHTML can access and manipulate HTML elements. 3.HTML Events: It is an part of HTML DOM and used to handle HTML elements.We use DHTML with HTML Events to make web pages those perform action when event occour. 4.CSS: It is an W3C standard style and layout model made only for HTML. DHTML use JavaScript and DOM to change position and style of HTML elements. In DHTML what is the difference between "FontSize" and "Font Size" ? "FontSize" is a property, "Font Size" is a style in DHTML.

How DHTML work with JavaScript? Using JavaScript we can made dynamic HTML content. We can use document.write() to show dynamic content on your web page.Below I have given you HTML page which made dynamic after using JavaScript.This example will show current date. Example: <html> <body> <script type="text/javascript"> document.write(Date()); </script> </body> </html> How FontSize and Font Size is differ in DHTML? ont size is an attribute that we used in font tag.Where as font-size is an style property.

<font size="5"> use in font tag. p{font-size:"5"} use in CSS. What are the attributes that make up a DHTML? DHTML is called as Dynamic HTML. This is used to increase the interactive ability and the visual effect of the web pages which is loaded in the browser. The main technologies that are used in DHTML are namely: * HTML * JavaScript * CSS which is also called as Cascading Style Sheet * DOM also called as Document Object Model How to Handle Events with DHTML? Event is use to trigger actions in the browser. When client click on the element, associated action will started.Like: an JavaScript will started when client click on element. Using Event Handler we can do like that,When an event occur it will execute code associated with that element. Example: In this example header will changes when client clicks. <h1 onclick="this.innerHTML='abc!'">Click on this text</h1> We can add a script in the head section and then we call the function from the event handler. Example: <html> <head> <script type="text/javascript"> function changetext(id) { id.innerHTML="abc!"; } </script> </head> <body> <h1 onclick="changetext(this)">Click on this text</h1> </body> </html> 1. what is the Html?

HyperText is the method by which you move around on the web by clicking on special text called hyperlinks which bring you to the next page. The fact that it is hyper just means it is not linear i.e. you can go to any place on the Internet whenever you want by clicking on links there is no set order to do things in. Markup is what HTML tags do to the text inside them. They mark it as a certain type of text (italicised text, for example). HTML is a Language, as it has code-words and syntax like any other language. 2. What are the attributes that make up a DHTML? DHTML is called as Dynamic HTML. This is used to increase the interactive ability and the visual effect of the web pages which is loaded in the browser. The main technologies that are used in DHTML are namely: o HTML o JavaScript o CSS which is also called as Cascading Style Sheet o DOM also called as Document Object Model 3. What is meant by iframe ? iframe is used for creating an inline or floating frame. As most of know frames are mainly used to structure the page or for placing a menu bar on the side and so on. But iframe is used in a different context. That is in other words iframe is used to embed or

insert content on a page of padding. This is done for several reasons. Say the content may be large enough that the user may wish to place it separately and scroll through it

4. How to place a background for a single table cell?

You can put a background for a single table cell in two ways namely: Either by using HTML Using CSS 5. What are differences between DIV and SPAN? DIV is used to select a block of text so that one can apply styles to it. SPAN is used to select inline text and let users to apply styles to it. The main difference between DIV and SPAN is SPAN does not do formatting by itself. Also the DIV tag is used as a paragraph break as it creates a logical division of the document in which it is applied. This is in contrast to the SPAN as SPAN simply dos the functionality of applying the style and alignment whatever was specified in it. DIV has ALIGN attribute in it which is not present in case of SPAN. Thus DIV is used in cases where one wants to apply styles to a block of text. But there may be situations in which there might not be clear well structured block of text to work with. In those cases one can opt to apply SPAN which is used to apply styles inline. That is in other words DIV is generally used for block of text and SPAN is generally used for words or sentences. What are the differences between cell spacing and cell padding? Cell padding is used for formatting purpose which is used to specify the space needed between the edges of the cells and also in the cell contents. Cell spacing is one also used f formatting but there is a major difference between cell padding and cell spacing. It is as follows: Cell padding is used to set extra space which is used to separate cell walls from their contents. But in contrast cell spacing is used to set space between cells. How do I specify page breaks in HTML? Here is no way in standard HTML to specify where page breaks will occur when printing a page. HTML was designed to be a device-independent structural definition language, and page breaks depend on things like the fonts and paper size that the person viewing the page is using. How do I add scrolling text to my page? Add a Tag of marquee How do I close a browser window with HTML code? Use the below code example. < type="button" value="Close this window" onclick="self.close()"> Is it possible to make the HTML source not viewable? There is no real method or script for making standard HTML source code not viewable. There are various script that Disable Right click feature. How do I do multiple colors of text? To do the multicolor text adjust the color of your font tag as: < font color="blue">blue How do I make a picture a link? Use the A HREF link tag around the IMG image tag as: < A HREF="http://www.computerhope.com"> < image SRC="title.gif">

EXCEL
Can I prevent someone from copying the cells in my worksheet and pasting them to a new worksheet?

Probably not. If someone really wants to copy data from your worksheet, they can find a way. You can use Auto filter to do this work.
How can I distribute a workbook such that it can't be copied? You can't. How can I hide a worksheet so it can't be unhidden? You can designate a sheet as "very hidden." This will keep the average user from viewing the sheet. To make a sheet very hidden, use a VBA statement such as: Sheets("Sheet1").Visible = xlVeryHidden A "very hidden" sheet will not appear in the list of hidden sheets, which appears when the user selects Format - Sheet - Unhide. Unhiding this sheet, however, is a trivial task for anyone who knows VBA. How can I prevent a user for adding or deleting sheets? You need to protect the workbook's structure. Select Tools - Protection - Protect Workbook. In the Protect Workbook dialog box, make sure that the Structure checkbox is checked. If you specify a password, that password will be required to unprotect the workbook. When a workbook's structure is protected, the user may not: * Add a sheet * Delete a sheet * Hide a sheet * Unhide a sheet * Rename a sheet * Move a sheet How can I increase the number of columns in a worksheet?

You can't. This number is fixed and cannot be changed. If you want to increase the columns in worksheet, just select the cell in the column label or in worksheet as you required and go to Insert in Menu bar and click on columns.
What types of workbook protection are available? Excel provides three ways to protect a workbook: * Require a password to open the workbook * Prevent users from adding sheets, deleting sheets, hiding sheets, and unhiding sheets * Prevent users from changing the size or position of windows How do I unlock a cell? 1. Select the cell or cells that you want to unlock. 2. Choose Format - Cells 3. In the Format Cells dialog box, click the Protection tab 4. Remove the checkmark from the Locked checkbox. Remember: Locking or unlocking cells has no effect unless the worksheet is protected. How do I protect a worksheet? Activate the worksheet to be protected, then choose Tools - Protection - Protect Sheet. You will be asked to provide a password (optional). If you do provide a password, that password will be required to unprotect the worksheet.

Can I change the color of the worksheet tabs in my workbook?

In a word, no. It would certainly be helpful to be able to color-code your worksheet tabs. Right click on tab you want to change the colour, you can select the colour of your choice. Guess i m getting the question right. This menu of color change is known as Format Tab Color.

How to find the rank using functions? With the conditional formatting we can give rating for specific data select all data go the insert go to HOME tab in 2007 version in the styles tab click on Condition formating in the click on new rule then one dialog box will appear in that "Select Rule type" click on 3rd one "format only top or bottom ranked values" Eg:

with the function Rank we can give ranks for particular date ex; 3 - A1 3.5 - A2 3.5 - A3 1 - A4 2 - A5 =rank(A3,A2:A6,1) answer given : (3)

Vous aimerez peut-être aussi