66. Write down the Socket object methods to get information about
a socket.
2. getPort () -displays which port the Socket is connected to on
the remote host.
3. getLoca1Port ()- to find the port number for the local end of a
connection
4. getLocalAddress () -tells you which network interface a socket
is bound to.
67. What operations Multicast Socket Perform?
1. Join a multicast group
2. Send data to the members of the group
3. Receive data from the group
4. Leave the multicast group
68. What are Style Sheets?
Style sheets are collections of style information that are applied
to plain text. Style
information includes font attributes such as type size, special
effects (bold,italic,underline),
color and alignment. Style sheets also provide broader formatting
instructions by specifying
values for quantities such as line spacing and left and right
margins.
69. List down the ways of including style information in a
document.
1.Linked Styles -Style information is read from a separate file
that is specified in the
<LINK> tag
2.Embedded Styles -Style information is defined in the document
head using the
<STYLE> and </STYLE> tags.
3.Inline Styles -Style information is placed inside an HTML tag
and applies to all
content between that tag and it companion closing tag.
70. Define cascading.
Cascading refers to a certain set of rules that browsers use, in
cascading order, to
determine how to use the style information. Such a set of rules is
useful in the event of
conflicting style information because the rules would give the
browser a way to determine
which style is given precedence.
71. What are the style precedence rules when using multiple
approaches?
Inline styles override both linked style sheets and style
information stored in the document
head with <STYLE> tag.
Styles defined in the document head override linked style sheets.
Linked style sheets override browser defaults.
72. Give the syntax to specify a characteristic in linked style
sheet.
{Characteristic: value}
Multiple characteristic/value pairs should be separated by
semicolons.
73. List down font characteristics permitted in style sheets.
1.font-family
2.font-size
3.font-weight
4.font-style
5.font-variant
74. Write a note on content positioning characteristic
"Visibility".
Enables the document author to selectively display or conceal
positioned content; Possible
values are show or hide.
75. Define XML.
XML is a meta-markup language that provides a format for
describing structured data. This
facilitates more structured declarations of content and more
meaningful search results across
multiple platforms.
No comments:
Post a Comment