codegalaxy.blogspot.com
Hello World: November 2010
http://codegalaxy.blogspot.com/2010_11_01_archive.html
Create a program that will sort ten numbers in a descending order. Import java.io.*;. Public static void main (String args[]) throws IOException. BufferedReader buff = new BufferedReader (new InputStreamReader (System.in) ;. System.out.println("Enter 10 numbers: ");. Int[] numbers = new int [10]; / This signals that ten numbers will be entered by the user. Int container = numbers[two]; / Initialize the value of two in container if two is bigger than total. For example, arrange the numbers 5,3,1,4, and 2.
codegalaxy.blogspot.com
Hello World: August 2011
http://codegalaxy.blogspot.com/2011_08_01_archive.html
Simple 'Try and Catch' Example. Import java.io.*;. Public static void main (String args[]) throws IOException. BufferedReader HelloWorld = new BufferedReader(new InputStreamReader(System.in) ;. System.out.println("Enter A Number: ");. Int GalaxyNumber = Integer.parseInt(HelloWorld.readLine() ;. System.out.println("Enter A Number: ");. You can also have. System.out.println(ShowError);. System.out.println("Enter A Number: ");. To know the error. Subscribe to: Posts (Atom). Enter your email address:.
codegalaxy.blogspot.com
Hello World: List of HTML Elements
http://codegalaxy.blogspot.com/2012/08/list-of-html-elements.html
List of HTML Elements. As promised, the list of the commonly-used HTML elements are as follows. TITLE - Document title. ISINDEX - Primitive search. LINK - Site structure. BASE - Document location. SCRIPT - Inline script. STYLE - Style information. H1 - Level 1 header. H2 - Level 2 header. H3 - Level 3 header. H4 - Level 4 header. H5 - Level 5 header. H6 - Level 6 header. UL - Unordered list. OL - Ordered list. DIR - Directory list. MENU - Menu item list. LI - List item. DL - Definition list.
codegalaxy.blogspot.com
Hello World: July 2012
http://codegalaxy.blogspot.com/2012_07_01_archive.html
HTML Paragraphs vs Line Break. Are useful especially when features are posted. It is also very useful in understanding the written article of a webpage properly, like how News and Blog sites have been posting as their content. Paragraphs are another element of HTML that has an opening and closing tag. An opening tag, p. Is declared when starting a new paragraph and a closing tag, /p. Is declared by ending the paragraph or before starting another paragraph. Photo by: Unique Method. Headings are written as.
codegalaxy.blogspot.com
Hello World: August 2012
http://codegalaxy.blogspot.com/2012_08_01_archive.html
List of HTML Elements. As promised, the list of the commonly-used HTML elements are as follows. TITLE - Document title. ISINDEX - Primitive search. LINK - Site structure. BASE - Document location. SCRIPT - Inline script. STYLE - Style information. H1 - Level 1 header. H2 - Level 2 header. H3 - Level 3 header. H4 - Level 4 header. H5 - Level 5 header. H6 - Level 6 header. UL - Unordered list. OL - Ordered list. DIR - Directory list. MENU - Menu item list. LI - List item. DL - Definition list. This is smal...
codegalaxy.blogspot.com
Hello World: HTML Formatting Tags
http://codegalaxy.blogspot.com/2012/08/html-formatting-tags.html
In order to display a bold. Text in HTML, we use the formatting tags. There are two types of tags:. Describes the difference as follows. Controls how the characters are formatted. For instance, you might display some characters as bold or italic. Listing 1 displays some common physical character tags. This is b bold /b. This is big big font /big. This is i italic /i. Was s $50 /s ; now $40. This is small small /small. H sub 2 /sub O. May 5 sup th /sup 2005. Tt fixed-width font /tt. This is u underlined /u.
codegalaxy.blogspot.com
Hello World: October 2010
http://codegalaxy.blogspot.com/2010_10_01_archive.html
So there's two kinds of errors: Runtime and the Compile-time. The Runtime Error can only be found when the program is successfully compiled and an error occurs. The Compile-time error, which I think is the most common, can be found when compiling. So the program I posted yesterday has an error due to long codings. There were right answers in the final round where it displays Wrong. But the score is added. Here's the final and error-free code. Try it for yourself. Import java.io.*;. System.out.pri...Start...
codegalaxy.blogspot.com
Hello World: September 2012
http://codegalaxy.blogspot.com/2012_09_01_archive.html
The most common attributes are as follows. Specifies the horizontal alignment of the element. Alternative text in case an image can't be displayed. The audio or video should play as soon as possible. Background color of the element. Note: This is a legacy attribute. Please use the CSS. Note: This is a legacy attribute. Please use the CSS. Indicates whether the element should be checked on page load. Contains a URI which points to the source of the quote or change. A value associated with. Identifies a li...
codegalaxy.blogspot.com
Hello World: Attributes
http://codegalaxy.blogspot.com/2012/09/attributes.html
The most common attributes are as follows. Specifies the horizontal alignment of the element. Alternative text in case an image can't be displayed. The audio or video should play as soon as possible. Background color of the element. Note: This is a legacy attribute. Please use the CSS. Note: This is a legacy attribute. Please use the CSS. Indicates whether the element should be checked on page load. Contains a URI which points to the source of the quote or change. A value associated with. Identifies a li...