Академический Документы
Профессиональный Документы
Культура Документы
- TCP/IP makes small pkts and send all these pkts across dev. Each pkt has to and
from address. If some of the pkts not reached destination than devB inform that only this much
pkt reached some more pkts yet to reach and send remaining pkts.
>it is a collection of resrc associated with MIME type(.txt, .html, .jpg) and
r centrally connected to homepage.
-HTML:
>Hyper text markup language
>This gives structured data to user.
-URL:universal resrc locator
>Unique identifier for each resrc
>url looks like:
-Domain names:
>To remember all URL it difficult, so to make easy for user domain names are
created.
>Text based
>given uniquely per website
>
-webServer:
>S/w run on server
>types:
>static WS:>resrc that already exit
>can host only website
>dynamic WS:>resrc created newly when req is
made
>host both website and webapp
>webapp is set of pgms of different
MIME type.
>Dynamic WS is pgm lang specific
>so have java enabled WS
php ..
..
.Net ..
..
phython .. ..
HTML basics:
HTML Attributes:
element
other
the title
body.
<html>
<body>
</body>
</html>
<b> <i> :formating tags gives formatted output likes bold and
</br>: break tag
italic text.
HTML Hyperlinks:
>Example:<a href="http://www.w3schools.com/">Visit
W3Schools</a>
which will display like this: Visit W3Schools
W3Schools' homepage.
HTML Images:
>Syntax:
<img src="url">
HTML Tables:
>A table is divided into rows with the <tr> tag. (tr
>A row is divided into data cells with the <td> tag. (td
container.
>A row can also be divided into headings with the <th>
heading)
HTML LIST:
HTML Unordered Lists
>An unordered list starts with the <ul> tag. Each list item starts with the <li> tag.
>The list items are marked with bullets (typically small black circles).
<ul>
<li>Coffee</li>
<li>Milk</li>
</ul>
How the HTML code above looks in a browser:
. Coffee
. Milk
HTML Ordered Lists
An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.
The list items are marked with numbers.
<ol>
<li>Coffee</li>
<li>Milk</li>
</ol>
How the HTML code above looks in a browser:
1.Coffee
2.Milk
HTML Forms:
>HTML forms are used to pass data to a server.
>An HTML form can contain input elements like text fields, checkboxes, radio-buttons, submit
buttons and more.
>The <form> tag is used to create an HTML form:
>Syntax:
<form>
input elements
</form>
>HTML Forms - The Input Element
>The most important form element is the <input> element.
>The <input> element is used to select user information.
>An <input> element can vary in many ways, depending on the type attribute. An <input>
element can be of type text field, checkbox, password, radio button, submit button, and more.
>The most common input types are described below.
-->Text Fields
<input type="text"> defines a one-line input field that a user can enter text into:
<form>
First name: <input type="text" name="firstname"><br>
Last name: <input type="text" name="lastname">
</form>
Note: The form itself is not visible. Also note that the default width of a text field is 20
characters.
-->Password Field
<form>
Password: <input type="password" name="pwd">
</form>
Note: The characters in a password field are masked (shown as asterisks or circles).
-->Radio Buttons
defines a radio button. Radio buttons let a user select ONLY ONE of a limited number of
choices:
<form>
<input type="radio" name="sex" value="male">Male<br>
<input type="radio" name="sex" value="female">Female
</form>
-->Checkboxes
<input type="checkbox"> defines a checkbox. Checkboxes let a user select ZERO or MORE
options of a limited number of choices.
<form>
-->Submit Button
> The data is sent to the page specified in the form's action attribute
If you type some characters in the text field above, and click the "Submit" button, the browser
will send your input to a page called "demo_form_action.asp". The page will show you the
received input.