The main language used for web-designing are
- HTML: Base template
- CSS: Styling
- PHP: Server side scripts
The main language used for web-designing are
To set an image as a background on web page, point the body background to the name of your image you want to set as a background as shown below.
<body background= “picture.gif”>
You can also fix the background image, so while using the scroll bar in the browser, it does not move. To do this add the BGPROPERTIES tag as shown below
<body background = “picture.gif”bgproperties=”fixed”>
To integrate CSS file with any number of HTML files, you have to integrate the file after the <head> tag using “Link” property.
<head><Link REL=STYLESHEET HREF= “filename.css”Type=“text/css”></head>
Some of the JQuery function used for webpage designing include
Make the “Delete” button more prominent by using color like Red, especially when you have to show two button side by side. Red is sign of caution, so that will definitely help the user to draw their attention.
Developer can learn about web design by following tips
The older version of calculators have several “cancel” button (C, CE). The CE button will only clear the last entry but does not interrupt with the current computation. For instance, if you enter 2+1 and then press CE, it would show 0, but the calculator expects a second operand for the addition. (2+ is still there in memory). So to ensure that nothing remains left in memory and to start a new calculation we often see people hitting clear button couple of times. It is not due to a flaw in the calculator’s design.
During beginning of mouse technology, it was found that given the low resolution of the screens in those days, drawing a straight line and a line at a 45 degree angle was easier to do and more recognizable than the straight cursor. Also, the tilted arrow can help the click position easier to calculate because the origin of the cursors bitmap was in the upper left. This saved the mouse tracking subroutine a calculation on every click.
A grid system is a structure comprising a series of horizontal and vertical lines which intersect and used to arrange content. It is a way of providing a system that designers can work with the structure and present content. For web design beginners, it is always suggested that they use the pre-made framework for web design as they are relatively easy to use.
You need to take following things in consideration
CSS is called as “cascading style sheets”. It is mainly used to open and control web pages. It is usually used for controlling web pages which include font sizes, font styles and colour combinations that is necessary for the webpage. CSS files makes changes globally as any change in a CSS file can also lead to an overall change in the website appearance. This means that any change in a certain CSS file can cause automatic changes to the pages that uses that certain CSS file and will display the changes.
No, CSS is not case sensitive. CSS is case insensitive under most of its control except for document mark-up language which is beyond its control.
External style sheet is a template/document/file which contains style and appearance information which can be used to link the HTML document and a large number of HTML documents can be linked using external style sheets. The file document can be linked using the LINK tag under the HEAD element. Files containing style information should have a suitable extension. For example, style.css. The proper syntax for linking the file using external style sheet is <head><link rel =stylesheet href=”style.css” type=”text/css”></head>
We can apply this by using mailto command in an AHREF link tag given below:
< A href mailto:[email protected]?subject=enquiry””> click here to mail ABC</a>
By using the align statement in the IMG SRC tag.
<img src=”abdc.gif” align=top>. Align can also be modified as align=top, align=middle, align=centre etc.
The type of positioning used for the webpages can be determined by using “position” element. These include static, relative, fixed, inherit and absolute.
Return ‘true’ if the argument is not a number.
Since the question contains strings and + sign is usually used for catenation, the answer returned will be 124.
Power shell is an extendable command shell and a scripting language for Windows.
The key characteristics of PowerShell are
In variables PowerShell contains strings, integers and objects. It does not have special variables as it is pre-defined with PowerShell.
Cmdlet’s are simple build in commands written in .net language like C# or VB introduced by Windows PowerShell.
Automating repetitive task with the help of PowerShell loop is known as PowerShell Loop. Through PowerShell, you can execute For each loop, While loop and Do While loop.
If you have created a web part using VS 2010 then, you can deploy it using cntrl+f5. However to activate the web part feature you can write a PowerShell script (.ps1) and execute it after deployment.
Comparison Operators compares value in PowerShell. Four types of comparison operators are used equality, match, containment and replace. In PowerShell, one of the key comparison operators is –eq that is used instead of “=” sign for declaring variables. Likewise, there are other operators like –ne for “not equal” , -gt ( greater than ) or –lt (less than).
PowerShell pipeline is used for joining two statements such that the output of one statement becomes the input of the second.
Get command in PowerShell is used to fetch other cmdlets, for example you are looking for cmdlet between letter L and R then your PowerShell get-command will be like
# PowerShell Get – Command Range
Get-Command [ L–R ]*
To map a network drive in PowerShell you have to use the command like
# PowerShell Map Network Drive
$Net = $( New – Object – ComObject Wscript.Network )
$Net.MapNetworkDrive( “S:”, \\expert\myTectra )
In here the drive letter is “S:” and the Network share is called ‘expert’ on a computer called ‘myTectra.’
The cmdlets of windows enable you to filter the window services. PowerShell can list which services are ‘Running’ and which are ‘Stopped’ by scripting with windows.
PowerShell file contains a series of PowerShell commands with each command appearing on a separate line. To use a text file as a PowerShell script, its filename should have.PS1 extension. To run a script you need
A hash table is also referred as dictionary. It is an array that allows you to store data in a “key-value” pair association. The “key” and “value” can be of any data and length. To declare a hash table you have to use @ followed by curly braces.
The use of Array in PowerShell is to run a script against remote computers. In order to create an array, you have to create a variable and assign the array. Arrays are represented by “@”symbol, they are represented as hashtable but not followed by curly braces.
For example, $arrmachine = @ ( “machine1” , “machine2” , “machine3”)
To get all child folders in a specific folder, you have to use parameter recurse in the code.
Get-ChildItem C:\Scripts –recurse
To convert the object into HTML
Get-Process l Sort-object – property CPU –descending l convert to – HTML l Out-file “process.html”
To rename a variable,
Rename-Item- Path Env: MyVariable –NewName MyRenamedVar
The $input variable enables a function to access data coming from the pipeline
Get-WmiObject-Class Win32_Product- ComputerName . l Format-wide-column1
There are two ways to do this
There are two ways to do this.
win32_computersystem. This can be used as follows:
PS C:\> $server = gwmi -cl win32_computersystem
PS C:\> $server.SystemType X86-based PC
When you add a variable to a double-quoted string, PowerShell replaces the variable name by its value. This feature is called variable interpolation.