Search the Whole World Here.,.,

Showing posts with label Html. Show all posts
Showing posts with label Html. Show all posts

4 Essential Tools for a Java-Centric IT Environment


For those unfamiliar with the modern IT scene, “java” might still conjure up images of coffee mugs filled to the brim. And while that is an essential tool for all IT specialists who work the morning shift, we use “Java” here in reference to the popular programming language originally developed by James Gosling back in 1995 (centuries ago in “IT years!”).
Java, a widely used programming language, is designed for use in the distributed environment of the internet. It is the most popular programming language for Android smartphone applications and for the Internet of Things development.
Java is now used by some 9 million software developers and is especially popular with client-server Web apps. Its flexibility and compatibility with every computer architecture and its inherent simplicity and “smartness” have endeared it to the hearts of millions.


Assuring meticulous performance can be challenging without the right tools. That’s why every Java developer, performance tuner, and end-user needs to be equipped with those tools to ensure the best possible results, including these four:


1. The Best, Most Appropriate Java Profiler

Java profilers can help you with a multitude of programming tasks, including memory usage monitoring, memory leak detection, analyzing method call durations, finding performance bottlenecks, resolving threading problems, displaying helpful graphs and reports, and much more.

2. Bug Finding Tools

To help Java software developers write better code, nothing is more important than an effective, efficient bug finder, like for example FindBugs. FindBugs is an open source tool that utilizes Java bytecode instead of source code. It employs “static analysis” to quickly find numerous types of errors that may be gotten into your Java program.
And besides identifying the exact type of error and its location, FindBugs also gives you an entertaining but still helpful analysis of the severity level of each error: of concern, troubling, scary, and scariest.
  


3. Auto-build Tools

Given the complexity and length of coding structures in modern Java (and other) software, it is essential to avail yourself of an auto-build tool like Apache Ant to speed things up. Apache Ant is open source, uses XML, and uses Javascript.
In fact, “the ant” actually requires a Java platform and is mostly utilized for Java-based software projects. However, you can also use it for non-Java apps, like with C/C++.
Apache Ant is very flexible and non-restrictive as to coding conventions/layouts, and it will help you to quickly and easily assemble and test-run your Java apps to ensure they are all you want them to be.



4. Data Leakage Protection Software

No matter how careful one is in programming with Java and pre-testing it, in these days of cloud-based data storage, data leaks are much more dangerous than they once were. If files fall into the wrong hands or simply get “lost,” the consequences to companies can be serious indeed as trade secrets are exposed and consumer confidence is shaken. Data leakage protection software can greatly increase the security level of online data that you simply can’t afford to see compromised.

HTML Form - Radio Button Input

HTML Form - Radio Button Input


<input type="radio"> defines a radio button.
Radio buttons let a user select ONE of a limited number of choices:

Example

<form>
  <input type="radio" name="gender" value="male" checked> Male<br>
  <input type="radio" name="gender" value="female"> Female<br>
  <input type="radio" name="gender" value="other"> Other
</form>
Try it Yourself »
This is how the HTML code above will be displayed in a browser:
 Male
 Female
 Other
HTML Form - Text Input

HTML Form - Text Input


<input type="text"> defines a one-line input field for text input:

Example

<form>
  First name:<br>
  <input type="text" name="firstname"><br>
  Last name:<br>
  <input type="text" name="lastname">
</form>
Try it Yourself »
This is how it will look like in a browser:
First name:

Last name:
Note: The form itself is not visible. Also note that the default width of a text field is 20 characters.
Horizontal Lists

Horizontal Lists


HTML lists can be styled in many different ways with CSS.

One popular way is to style a list horizontally, to create a menu:

Example

<!DOCTYPE html>
<html>
<head>
<style>
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333333;
}

li {
    float: left;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 16px;
    text-decoration: none;
}

li a:hover {
    background-color: #111111;
}
</style>
</head>
<body>

<ul>
  <li><a href="#home">Home</a></li>
  <li><a href="#news">News</a></li>
  <li><a href="#contact">Contact</a></li>
  <li><a href="#about">About</a></li>
</ul>

</body>
</html>
Try it Yourself »

Nested HTML Lists

Nested HTML Lists


List can be nested (lists inside lists):

Example

<ul>
  <li>Coffee</li>
  <li>Tea
    <ul>
      <li>Black tea</li>
      <li>Green tea</li>
    </ul>
  </li>
  <li>Milk</li>
</ul>
Try it Yourself »
Note: List items can contain new list, and other HTML elements, like images and links, etc.
HTML Description Lists

HTML Description Lists


HTML also supports description lists.

A description list is a list of terms, with a description of each term.

The dl tag defines the description list, the dt tag defines the term (name), and the dd tag describes each term: 

Example

<dl>
  <dt>Coffee</dt>
  <dd>- black hot drink</dd>
  <dt>Milk</dt>
  <dd>- white cold drink</dd>
</dl>
Try it Yourself »

Ordered HTML List

Ordered HTML List


An ordered list starts with the ol tag. Each list item starts with the li tag.

The list items will be marked with numbers by default:

Example

<ol>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ol>
Try it Yourself »

Unordered HTML List - Choose List Item Marker

Unordered HTML List - Choose List Item Marker


The CSS list-style-type property is used to define the style of the list item marker:
ValueDescription
discSets the list item marker to a bullet (default)
circleSets the list item marker to a circle
squareSets the list item marker to a square
noneThe list items will not be marked

Example - Disc

<ul style="list-style-type:disc">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>
Try it Yourself »

Example - Circle

<ul style="list-style-type:circle">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>
Try it Yourself »

Example - Square

<ul style="list-style-type:square">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>
Try it Yourself »

Example - None

<ul style="list-style-type:none">
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>
Try it Yourself »

Unordered HTML List

Unordered HTML List


An unordered list starts with the ul tag. Each list item starts with the li tag.

The list items will be marked with bullets (small black circles) by default:

Example

<ul>
  <li>Coffee</li>
  <li>Tea</li>
  <li>Milk</li>
</ul>

HTML Table - Adding Border Spacing

HTML Table - Adding Border Spacing


Border spacing specifies the space between the cells.

To set the border spacing for a table, use the CSS border-spacing property:

Example

table {
    border-spacing: 5px;
}
Try it Yourself »
Note: If the table has collapsed borders, border-spacing has no effect.
HTML Table - Adding Cell Padding

HTML Table - Adding Cell Padding


Cell padding specifies the space between the cell content and its borders.

If you do not specify a padding, the table cells will be displayed without padding.

To set the padding, use the CSS padding property:

Example

th, td {
    padding: 15px;
}
Try it Yourself »

HTML Table - Adding a Border

HTML Table - Adding a Border


If you do not specify a border for the table, it will be displayed without borders.

A border is set using the CSS border property:

Example

table, th, td {
    border: 1px solid black;
}
Try it Yourself »
Remember to define borders for both the table and the table cells.
Defining an HTML Table

Defining an HTML Table


An HTML table is defined with the table tag.

Each table row is defined with the tr tag. A table header is defined with the th tag. By default, table headings are bold and centered. A table data/cell is defined with the td tag.

Example

<table style="width:100%">
  <tr>
    <th>Firstname</th>
    <th>Lastname</th> 
    <th>Age</th>
  </tr>
  <tr>
    <td>Jill</td>
    <td>Smith</td> 
    <td>50</td>
  </tr>
  <tr>
    <td>Eve</td>
    <td>Jackson</td> 
    <td>94</td>
  </tr>
</table>
Try it Yourself »
Note: The td elements are the data containers of the table.
They can contain all sorts of HTML elements; text, images, lists, other tables, etc.
Image Maps

Image Maps


Use the map tag to define an image-map. An image-map is an image with clickable areas.

The name attribute of the map tag is associated with the img's usemap attribute and creates a relationship between the image and the map.

The map tag contains a number of area tags, that defines the clickable areas in the image-map:

Example

<img src="planets.gif" alt="Planets" usemap="#planetmap" style="width:145px;height:126px;">

<map name="planetmap">
  <area shape="rect" coords="0,0,82,126" alt="Sun" href="sun.htm">
  <area shape="circle" coords="90,58,3" alt="Mercury" href="mercur.htm">
  <area shape="circle" coords="124,58,8" alt="Venus" href="venus.htm">
</map>
Try it Yourself »

Ads by Google