How you define list in HTML?
In HTML we can create ordered,unordered and definition list.
HTML list is like that.
*This is first item
*This is second item
*This is third item
*This is fourth item
Ordered List: Ordered list define as list of items and they are fully numbered.Our ordered list start with <ol> tag and end with <li> tag.
Unordered List: Unordered list define as list of items and they are write with small black circles.Our ordered list start with <ul> tag and end with <li> tag.
Definition List: It is not only a list of items. In create list of item with their description. Description list start with <ud> tag and end with <li> tag.In this we list each item by using <dt> and write their description by using <dd> tag.
<dd>Black cold drink</dd>
<dd>Yellow cold drink</dd>
Black cold drink
Yellow cold drink
We can use <p>(paragraph),<br />(line break), <img>(image),list etc. inside the above three list.
What is Empty HTML element?
When HTML element does not have any content.Than those element are called as Empty element.Empty element does not have any end tag.
<br />(It is an empty element which is used to break line.)
Because it is an empty element than their is no need to close them.
To use empty element is only on HTML.Because in XHTML,XML and new versions of HTML does have provided this types of element.
How you define elements in HTML?
Basically HTML element are those who define the structure of HTML document.It is used to arrange the content of HTML is an appropriate manner. Element may be of headings, links, paragraphs and structures etc.
When you want to create any HTML element than keep these points in mind.
1.Element should open with the start tag.
2.After that can include attributes with their values.Like: name="Abhi"
3.Than you write content.Like:This is our first HTML page.
4.and close with end tag.(but is optional when you want to create an empty element than their is no need to close your open tag)In HTML your content may be empty.
<p name="Abhi">My first HTML page</p>
|Open|Attribute name| Content |End|
|tag |with value | |tag|
What are basic HTML tags how we use them?
I have shown you some basic HTML tags with their example:
1.Heading<h1...h6>:Range of HTML headings is from h1 to h6.When we go h1 to h6 its headings become larger and bold.
<h1>Write HTML heading between those tags</h1>
<h2>Write HTML heading between those tags</h2>
<h6>Write HTML heading between those tags</h6>
2.Paragraph<p>...</p>:We write paragraph in HTML by using <p>.....</p> tag.
<p>Write here a paragraph</p>
3.Link:Using this we can link our HTML file with some other files.
4.Image:It is used to describe the image in HTML.
<img src="welcome.gif" width="200" height="75" />
What do you know about HTML tags?
HTML tags decided how HTML file is look like on web page.I have given you some basic information about HTML tags.
1.In HTML,every keyword should be surrounded with open and closed with angled brackets.
2.HTML tags are not case sensitive means that suppose if we open <Html> tags than we can closed this tag with <html>.
3.When we open an HTML tag it should we have to closed tag.Like: <a>....</a>
4.In the above point tag (<a>) is called the open tag.where as tag</a> is called the end tag.
WHAT is the HTML?
Some main features of HTML are given below:
1.It is markup language.
2.It has provided pre-defined tags.
3.We save HTML file by using one of two extensions .htm or .html.
4.It uses markup tags to display on web pages.Reply
Can we write a comment into the HTML?
Yes,HTML provide us facility to write comments on HTML file.Comments that we write on HTML file are ignored by the browser so it will not display on browser.
<!-- Here write your comment -->
<!--Which you here not will diplayed on browser-->
<p>R4R Welcomes You!</p>
R4R Welcomes You!
How you define HTML Frames?
Using HTML Frames we can show more than one HTML document on the same browser.Where as each HTML document is called Frame.
We use Frames using <frameset> tag.It is used to divide windows into frames.
Using frame tag we put HTML document into the each frame.
25% and 75% specifies the width of the page.Above frame told that frame_first aquire the 25% area on the web browser and frame_second aquire the 75% area on the same same web browser.
Write some useful table tags that we use in HTML?
I have display the list of some tags that we used in HTML table.These tags are:
<table> This is started tag of table.All other
table tags works inside this tag.
<th> This is used to write header on table.
<tr> This is used to create row on table.
<td> This is used to create table cells.
<caption>This is specifies the table caption.
<colgroup>Specifies the group of columns in table.
<col> Using then we can set the attribute value
for one or more columns in table.
<thead> This is used to set table head.
<tbody> This is used to set table body.
<tfoot> This is used to set table border.
Explain about HibernateTemplate?
The org.springframework.orm.hibernate.HibernateTemplate class simplifies Hibernate data access code, and converts checked HibernateExceptions into unchecked DataAccessExceptions, following the org.springframework.dao exception hierarchy. Uses the same SQLExceptionTranslator mechanism as JdbcTemplate.
The central method is execute(), supporting Hibernate access code implementing the HibernateCallback interface. It provides Hibernate Session handling such that neither the HibernateCallback implementation nor the calling code needs to explicitly care about retrieving/closing Hibernate Sessions, or handling Session lifecycle exceptions.