Tuesday, 30 April 2013

basic html resolution is 800*600 or 1024 x 768

basic html resolution is 800*600 or 1024 x 768 

First off, your information is outdated. According to Market Share, 1024 x 768 is the most common screen resolution, weighing in at just over 30 percent of users. Users at 800 x 600 are less than four percent now.
There are many fixed width advocates, but it may be better to design for everyone—within certain limits! I've seen screen resolutions as high as 2560 x 1600. It can be extremely difficult reading web pages with a lot of text at that resolution. The rows of text are just too long, making it work to pick up the next line when you reach the end of one line. Besides that, that kind of resolution can make even the best designs look goofy.
It's been estimated that a minimum of 20 percent of surfers don't have their browser maximized to full size when they surf, so the idea of a "most common" screen resolution loses even more relevancy when you introduce that consideration into the debate.
Add to that the fact that Market Share keeps stats on 100 different screen resolutions, and people also access the web using other devices like cell phones and PDAs, and you'll understand how much resolution confusion there is!
I've come to believe using a limited liquid design is the best solution. What that means is designing a website using a liquid design, but using CSS to set a minimum and maximum size.
Whether you design your website using tables or divisions to control the layout, you just need to add the following CSS properties to your table or division controls:
min-width: 640px;
max-width: 1600px;
You'll have to play with those numbers, viewing your design at different minimum and maximum widths to discover where the design starts breaking down or looking bad, then adjust the numbers accordingly.


html resolution problems

html resolution problems :


We've covered a lot so far... text & font manipulation, images, links. As far as the basics go, there's not a whole heck of a lot more.
I think I'm going to take this time to tell you about screen resolution. Most people use a screen resolution of 800x600. That means that the screen is divided into 800 pixels (dots) horizontally and 600 pixels vertically. A few people use 640x480, some use 1024x768 and some even use an even higher resolution.
Using a bit of javascript in this page I can detect YOUR current screen resolution...
Your current screen resolution:
1600 × 900
What does this have to do with anything? It has a lot to do with how your pages will look to different visitors. Here are a couple screen shots of my old homepage at different resolutions.



http://www.pagetutor.com/html_tutor/lesson18.html

html image align in center

<CENTER>

<IMG SRC="images/ex.gif">

</CENTER>


Here, you will learn how to align your picture to the center of the screen. The starting tag is <CENTER> and the closing tag is </CENTER>. The picture(s) between these two tags is what is aligned to the center.


to set the image align in center its only possible 


Example :


<%-- 
    Document   : index
    Created on : Apr 27, 2013, 3:10:42 PM
    Author     : backup
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>SmallForexWeb</title>
    </head>
    <body>
        <table>
            <table border="2px" width="100%" height="50px">
            <tr>
                <td>HOME</td>
           <td>ABOUT US</td>
            <td>REGISTRATION</td>
            <td>SUPPORT</td>
            </tr>
              </table >
        <table border="2px" width="100%" height="300px">
            <tr>
                <td>
            <center>
                    <img   width="234px" height="215px" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTeL-h8gByMkOydy-baBAJCn7PROKKq1lyyIH6cjjrLsw108uyt2A">
            </center>
            
                </td>
            </tr>
        </table>
        <table border="2px" width="100%" height="400px">
            <tr>
                <td width="50%">REPORT
                    <img width="100%" height="400px"src="https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcSmerj8q8k4_elbfVz0cgw2IOOoG9_TLfSIcxNRpYFfucofFlFS">
                </td>
                <td width="50%">PERFORMANCE
                    <img width="100%" height="300px" src="https://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcTFpMKWGB9hUJTf1TlRb0aEi8Dpn0EPYYTVPrmq9hJfMYK5VO2v">    
                </td>
            </tr>
        </table>
        </table>
        </body>
</html>

Monday, 29 April 2013

PASCAL CODE

https://www.khanacademy.org/cs/pascals-triangle/803149756




background(10, 177, 255);

// The modular base to use for calculating the color
var base = 4;

// The radius of each circle
var radius = 4;

// The number of rows in the triangle
var numRows = 60;

var dy = sqrt(3) * radius;
var rowAboveColors = [];

for (var row = 0; row < numRows; row += 1) {
    var currentRowColors = [];
    for (var col = 0; col <= row; col += 1) {
        var currentColor;

        if (col === 0 || col === row) {
            currentColor = 1;
        } else {
            var leftColor = rowAboveColors[col - 1];
            var rightColor = rowAboveColors[col];
            currentColor = (leftColor + rightColor) % base;
        }

        if (currentColor === 0) {
            fill(255, 0, 0);
        } else if (currentColor === 1) {
            fill(0, 0, 0);
        } else if (currentColor === 2) {
            fill(0, 255, 0);
        } else if (currentColor === 3) {
            fill(0, 115, 255);
        } else if (currentColor === 4) {
            fill(255, 132, 0);
        } else if (currentColor === 5) {
            fill(0, 247, 255);
        } else {
            fill(255, 255, 255);
        }

        ellipse(200 + radius * (2 * col - row), dy * (row + 1), radius * 2, radius * 2);
        currentRowColors[col] = currentColor;
    }

    rowAboveColors = currentRowColors;
}

Saturday, 27 April 2013

Planning Your Web Site

http://certainwebdesign.com/Tutorials/planning_your_web_site.htm



Planning your website is an important first step in web design.  If you just start putting divs and paragraphs in with no clue about where it will end up, it will be a lot more work.  Get a pencil and a piece of paper and sketch out how you want it laid out and what will go in each page.
web design outlineOnce you have an outline to go by,  designing your site will be a whole lot easier.  Some just jump right into making the website with no thought as to how it is going to look.  You will find that a little fore-thought will make the new site a lot easier to build.  Yes, you might have to change something along the way. But it is better that just throwing it together and finding out it won't work.  Always preview in Firefox, preferably the latest version.

Now  that you have a plan, Open Expression Web and create a new empty web site.  Start making the template, making it centered in the page if you want.  Save it as a DWT (Dynamic Web Template).  Now make a new blank page from it.

Make your index page and save it.  Now start a new page and name it.  Keep adding until all your pages are done.

adobe photoshop web page

Friday, 26 April 2013

JavaScript DataTypes:

http://www.tutorialspoint.com/javascript/javascript_variables.htm



<script type="text/javascript">
<!--
var money;
var name;
//-->
</script>






<script type="text/javascript">
<!--
var money, name;
//-->
</script>

Guide to Grammar and Writing

http://grammar.ccc.commnet.edu/grammar/index2.htm



This index includes 427 references to both theGuide to Grammar and Writing and Principles of Composition. It does not, however, include references to the interactive Quizzes or to theGrammarlogs (posted responses to ASK GRAMMAR queries). The Frequently Asked Questions page and the Guide's Search Engine will also help you find help on grammatical issues, tips on composition, and advice on English usage.

A, An, The (articles)
A- Adjectives
Abbreviations
Abstract Nouns
Absolute Phrases
Acronyms (plurals of)
Acronyms (redundancy)
Active Voice (in verbs)
A.D. and B.C.
Adjectives
Adjective Clauses
Adjectival Labels
Adjuncts
Adverbs
Adverb Clauses
Adverbial Conjunctions
Agenda (for meetings)
Agent (of a sentence)
Agreement: Pron. & Ant.
Agreement: Subj. - Verb
Alphabetical Order
Amplifiers
Analysis-Classification
And to begin sent.
Anomalous Anonymies
Antecedent
Apologetic Quotation Marks
Apostrophe
APA-style Documentation
Appositive Phrases
Argumentative Essays
Articles
Articles & Acronyms
As versus Like
Ask Grammar
Attributive Noun
Author's Credentials
Auxiliary Verbs
Awards (for this site) 
Bad and Badly
Bare Infinitive
"Be" (the verb)
Because to begin sent.
Because clause
Bible (parallelism)
Bookshelf (recommended)
Brackets
Brainstorming
British Spelling
Bulleted Lists
Bush, George W., solecisms
Business Letter (format)
But to begin sent. 
Can and Could
Capitalization
Case (of pronouns)
Cases in appositives
Catenative Verbs
Causative Verbs
Cause-Effect Essays
Classification-Analysis
Clauses
Cleft Sentences
Clichés (Eliminating)
Clustering (ideas)
Coherence
Collective Adjectives
Collective Nouns
Colon
Combining Sentences
Commas
Comma Splices
Company Names
Comparative Adjectives
Comparative Adverbs
Comparison-Contrast
Complements
Complete Predicates
Complex Sentences
Compositions (writing)
Compound Plurals
Compound Possessives
Compound Words
Compound Sentences
Compounded Subjects/Objects
Compound-Complex Sentences
Compounding Pronouns
Computers and Writing
Concluding Paragraphs
Concrete Language
Concise Sentences
Conditional Verbs
Conditional (1st, 2nd, 3rd)
Confusion (Eliminating)
Conjunctions
Conjunctive Adverbs
Conjuncts
Contractions
Contractions (in essays)
Coordinate Adjectives
Coordinating Conjunctions
Copulas (verbs)
Correlative Conjunctions
Could
Count Nouns
Cumulative Sentences 
Dangling Modifiers
Dashes
Deadly Sin Checklist
Definition Essays
Degrees (adj) w/ premodifiers
Demonstrative Pronouns
Dependent Clauses
Descriptive Essays
Determiners
Diagramming Sentences
Dictionaries, Thesauri (list)
Direct Objects
Directory of Tenses
Discontinuous noun phrase
Disjuncts
Display (Vertical) Lists
Ditransitive Verbs
Do, Does, Did
Do versus Make
Double Negatives
Double Possessives
Double Prepositions
Double Punctuation
Downtoners
Dynamic Verbs 
Editing/Proofreading
E.g. and i.e.
Ellipsis
Elliptical Clauses
E-mail (capitals)
Emphasizers
Emphatic Sentences
Essay Writing
Essential Clauses

Euphemism
Evaluative Essays
Examples (in essays)
Exclamation Mark
Expletive Constructions 
Factitive Verbs
Family Names (plurals)
FANBOYS
FAQ (page)
Few and A Few
Fewer and Less
Finite Verbs
First Conditional
Five-Paragraph Essay
Focus Adverbs
Format Requirements
Fragments
Freewriting
Freq. Asked Questions
Fused Sentences
Future Tenses 
Gender Problems
Gerunds
Gerunds vs Infinitives
Gerund Phrases
Gettysburg Address (parallelism)
Going to . . . 
Good and Well
GRAMMARLOGS (answers)
GrammarPoll
GrammarRock Lyrics
Guestbook
Guestbook Archives 
Have, Has, and Had
Helping Verbs
Historical (a/an)
Holidays (forms)
Homonyms/Homophones
Hyphens 
I.e. and e.g.
Imperative Mood
Indefinite Pronouns
Indefinite Relative Pronouns
Independent Clauses
Indicative Mood
Indirect Objects
Indirect Questions
Indirect Quotations
Indirect Speech
Infinitives
Infinitive Phrases
Initials
Intensifiers (adverbs)
Intensifiers (Unnecessary)
Intensive Pronouns
Interjections
Internet (writing resource)
Interrobang
Interrogative Adjectives
Interrogative Pronouns
Intransitive Verbs
Introductory Paragraphs
Inversion (of subj-verb)
Irregular Plurals
Irregular Verb Forms
Italics
Its versus It's
Jr., Sr., etc. 
Lay, lie
Less and Fewer
Like versus As
Linking Verbs
Lists
Literature (writing about)
Little and A Little
Logic 
Mass Nouns
May and Might
Minutes (for meetings)
Misplaced Modifiers
Mixed Constructions
Mixed Metaphors
MLA-style documentation
Mnemonics (spelling)
Modal Auxiliary Verbs
Modifiers
Modifier Placement
Moods of Verbs
More Than vs Over
Mutating/Mutated Plurals
Myself, me 
Narrative Essays
Nonrestrictive Clauses
Negative Adverbs
Nominative Absolute
Nominative Possessive
Non-Count Nouns
None (singular/plural)
Non-Finite Verbs
Nouns
Noun Clauses
Noun Markers
Noun of Address
Noun Phrases
NOTORIOUS CONFUSABLES
Numbered Lists
Numbers (Using) 
Object Complements
Objectivity (maintaining)
Objects
One (as a pronoun)
Online Resources
Outlining
Over vs. more than
Oxford Comma 
Packed Noun Phrases
Paragraphs
Parallelism
Parentheses
Parenthetical Elements
Participles
Participial Phrases
Particles
Parts of Speech
Passive Gerunds
Passive Infinitives
Passive Participles
Passive Voice (in verbs)
Perfect Infinitive
Periodic Sentences
Periods
Person (of pronouns)
Personal Essays
Personal Pronouns
Phrasal Modals
Phrasal Verbs
Phrases
Plagiarism (avoiding)

Plague Words
Pleonasm
Plural Noun Forms
Plurals & Apostrophes
Plurals of Compounds
Point of View
Possessives
Possessive w/ Gerunds
Powerpoint Presentations
Predeterminers
Predicate Adjectives
Predicate Nominative
Predicates
Prefixes
Preposition (end of sent.)
Prepositions
Prepositions (list)
Prepositions, Superfluous
Prepositional Phrases
Primer Language (Avoiding)
Process Essays
Progressive Verbs
Pronouns (Defined)
Pronoun - Ant. Agrmnt
Pronouns & Nouns Combined
Pronoun Cases
Pronoun Consistency
Proofreading/Editing
Proofreading Symbols
Proper Adjectives
Proper Nouns
Punctuation
Purpose (in writing) 
Quantifiers
Question Marks
QUIZZES
Quotation Marks 
Reciprocal Pronouns
Redundancy (Avoiding)
Referral Form
Relative Adverbs
Relative Clauses
Relative Pronouns
Reflexive Pronouns
Reported Speech
Research Papers
Restrictive Clauses
Resulting Copulas
Resumes
Resumptive Modifier
Reviews (Literary)
Rhetorical Questions
Run-on Sentences 
SEARCH ENGINE
Second Conditional
Sequence of Tenses
Semicolons
Sentence Combining 
Sentences (defined)
Sentences (types)
Sentential Clauses
Sequence of Verbs
Serial Comma
Sexism in Language
Shall and Will
Should
Sic
Silent Speech
Simple Predicates
Simple Sentences
Simple Subjects
Single Quote Marks
Slant (or Slash)
Slash (or Virgule)
Solidus (or Slant)
Spelling
Split Infinitives
Sports Teams' Names
Squinting Modifiers
Stacked Noun Phrases
Stative Verbs
Stylistic Fragments
Subject Complements
Subjects
Subject-Verb Agreement
Subject-Verb Inversion
Subjunctive Mood
Subordinate Clause
Subordinating Conjunctions
Summative Modifier
Suffixes
Superlative (Adjectives)
Suspended Compounds 
Tag Questions
Tenses of Verbs
Tense Consistency
Than and Then
Than (in comparisons)
That (omitted)
That versus Which
Thesis Statement
Third Conditional
Third-Person Essays
Titles (italics, etc.)
"To Be" Verb
Tone
Topic Sentence
Toward and Towards
Transitions (b/w sentences, par's)
Transitive Verbs 
Unbiased Language
Underlining
Understood Subjects
Untriggered Reflexive Pron.
Used to 
Verbals
Verbs
Verb Complements
Verb Tense Sequence
Verb Tense Directory
Verb Tenses
Verb Tense Consistency
Vertical (Display) Lists
Viewpoint Adverbs
Virgule (or Slash)
Vocatives
Vocabulary (Building)
Voice (active/passive) 
Warning (about Guide use)
Well and Good
Which versus That
Who and Whom
Will and Shall
Will and Would
Wordy versus Concise Sentences
Writers (on writing)
Writer's Block
Zero Articles

Definition of a Sentence


#

Definition of a Sentence

Before elaborating too much on the nature of sentences or trying to define a sentence's parts, it might be wise to define a sentence itself. A sentence is a group of words containing a subject and predicate. Sometimes, the subject is "understood," as in a command: "[You] go next door and get a cup of sugar." That probably means that the shortest possible complete sentence is something like "Go!" A sentence ought to express a thought that can stand by itself, but it would be helpful to review the section on Sentence Fragments for additional information on thoughts that cannot stand by themselves and sentences known as "stylistic fragments." The various Types of Sentences, structurally, are defined, with examples, under the section on sentence variety. Sentences are also defined according to function: declarative (most of the sentences we use), interrogative (which ask a question — "What's your name?"), exclamatory ("There's a fire in the kitchen!"), and imperative ("Don't drink that!")
In Shakespeare's Henry IV, Part 1 (IIiv), we see that great "stuffed cloak-bag of guts," Falstaff, in debate with his good friend Prince Hal, the future King of England. After a night of debauchery together, he is imploring his young friend not to forget him when Hal becomes King. The banter goes on, but the best part of it is Falstaff's last few sentences on the matter (talking about himself here — his favorite subject):
But to say I know more harm in him than in myself,
were to say more than I know. That he is old, the
more the pity, his white hairs do witness it; but
that he is, saving your reverence, a whoremaster,
that I utterly deny. If sack and sugar be a fault,
God help the wicked! if to be old and merry be a
sin, then many an old host that I know is damned: if
to be fat be to be hated, then Pharaoh's lean kine
are to be loved. No, my good lord; banish Peto,
banish Bardolph, banish Poins: but for sweet Jack
Falstaff, kind Jack Falstaff, true Jack Falstaff,
valiant Jack Falstaff, and therefore more valiant,
being, as he is, old Jack Falstaff, banish not him
thy Harry's company, banish not him thy Harry's
company: banish plump Jack, and banish all the world.
Falstaff
The speech is quite a ramble, filled with Falstaff's lively good spirits. How can the Prince follow this? He does, with two little sentences:
I do. I will.
And there you have it. The prince knows he must someday, soon, renounce his life with Falstaff and turn to the responsibilities of ruling England. All the kinetic energy of Falstaff, manifested in the turns of phrase and rhythm in this speech, has been dammed up, thwarted and turned back by those two little sentences, four little words.
That's what variety of sentence length can do. Great expansiveness followed up by the bullwhip crack of a one-liner. It's not that one kind of sentence is better than the other (although the taste of the twentieth-century reader generally favors the terse, the economical). It's just that there are two different kinds of energies here, both potent. Use them both, and your prose will be energized.
The trouble is that many writers, unsure of themselves, are leery of long sentences because they fear the run-on, that troll under the bridge, forgetting that it is often better to risk imperfection than boredom.
What we need, then, is practice in handling long sentences. It is relatively easy to feel confident in writing shorter sentences, but if our prose is made up entirely of shorter structures, it begins to feel like "See Dick run. See Jane jump. See Jane jump on Puff." Primer style (pronounced "primmer" in the U.S.A.), it's called, and it would drive a reader crazy after a while.







Wednesday, 24 April 2013

new words for your better english daily |TEST ONE

new words for your better english daily |TEST ONE

Today holiday for our daily words .
Reason is we have some test today :(


So we move to write the test now :(

how much words still now we learned ?

Ans : 15

What are the 15 words ?

1-abstruse 
2-accretion
3-acolyte
4-actuary
5-acrimony
6-acumen
7-akimbo
8-aficionado  
9-alter ego
10-amanuensis
11-amalgam 
12-affidavit 
13-alfresco
 14.agronomy 
15.agnostic 

i forgot 5 words here :( 


Java script part two

use of console.log in JavaScript

use of java script in html coding

http://alvinabad.wordpress.com/2009/03/05/firebug-consolelogger/


Debugging JavaScript Using Firebug’s Console Logger<html>

  <head>
    <script type="text/javascript">
    function demo() {
        // do something         
        console.log("I'm here!");
        // do something         
    }
    </script>
  </head>
<body>
  <h1>Firebug's console.log() Demo</h1>
  <button onclick="demo();">Firebug console.log() demo</button>
</body>
</html>