This tag allows you to insert a video clip into your web page. The starting tag is <EMBED SRC="URL" WIDTH="XX" HEIGHT="XX" AUTOSTART="VALUE"> and the closing tag is </EMBED>. Nothing goes between the two tags.
URL is replaced with the internet address of the video file. The two XX's are replaced with the desired width and height of the movie and controls. VALUE is replaced with either
TRUE - Movie automatically starts
FALSE - Movie starts when play button is pushed
index.html - Notepad
....<BODY>
<EMBED SRC="video.avi" WIDTH="125" HEIGHT="150" AUTOSTART="FALSE">
</EMBED>
</BODY>....
This blog is for one who learn about java and open source tools. as a java developer i am writing my experience in this blog.
Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts
Thursday, March 3, 2011
How do I let people download a file from my page?
just use the same as links for example you want to download some .extention files you can use like this
<a href="path/filename.extention">download neme</a>
<a href="path/filename.extention">download neme</a>
How do I create a link that opens a new window?
The target attribute specifies where to open the linked document.
The example below will open the linked document in a new browser window:
<a href="http://www.w3schools.com/" target="_blank">Visit W3Schools!</a>
The example below will open the linked document in a new browser window:
<a href="http://www.w3schools.com/" target="_blank">Visit W3Schools!</a>
How can i display html tags in web pages
We can’t display html tags as it is to get displayed in the browser. Say for example you want to give html code to your visitor to place a link in their web site, pointing to your site. To display html tags in html format we have to use different ways. Browser will not display any thing within less than and greater than symbols. Browser will not display < character as it is. To display symbol < we have to write < , same way to display greater than character > we have to use >
<a href="http://www.w3schools.com/">Visit W3Schools</a>
you can use insted of < & (ampersand) lt (less then); and for > &(ampersand)gt(greater then);
<a href="http://www.w3schools.com/">Visit W3Schools</a>
you can use insted of < & (ampersand) lt (less then); and for > &(ampersand)gt(greater then);
How do I create a link?
A hyperlink (or link) is a word, group of words, or image that you can click on to jump to a new document or a new section within the current document.
When you move the cursor over a link in a Web page, the arrow will turn into a little hand.
Links are specified in HTML using the <a> tag.
The <a> tag can be used in two ways:
1. To create a link to another document, by using the href attribute
2. To create a bookmark inside a document, by using the name attribute
<a href="http://www.w3schools.com/">Visit W3Schools</a>
When you move the cursor over a link in a Web page, the arrow will turn into a little hand.
Links are specified in HTML using the <a> tag.
The <a> tag can be used in two ways:
1. To create a link to another document, by using the href attribute
2. To create a bookmark inside a document, by using the name attribute
<a href="http://www.w3schools.com/">Visit W3Schools</a>
What is DOM?
(or)
Unfortunately, the two leading browsers -- Netscape Navigator and Microsoft Internet Explorer -- use different DOMs. This is one reason why their respective implementations of DHTML are so different. Both companies have submitted their DOMs to the World Wide Web Consortium (W3C) for standardization, which now has the daunting task of specifying a standard DOM without alienating either of the browser giants. The W3C's DOM specification will support both HTML and XML.
(or)
what exactly is HTML?
HTML is short for:
Hyper Text Markup Language.
In a nutshell: HTML is a written language used to mark-up a page. Think of marking-up like placing markers on a field. These markers give instruction to people who understand what the markers mean. In the case of web design, replace ‘makers’ with tags, a web page for a field and people with web browsers – like Internet Explorer or Firefox. To summarize:
markers = html tags/text
field = web page
people who read markers = web browsers
Hyper Text Markup Language.
In a nutshell: HTML is a written language used to mark-up a page. Think of marking-up like placing markers on a field. These markers give instruction to people who understand what the markers mean. In the case of web design, replace ‘makers’ with tags, a web page for a field and people with web browsers – like Internet Explorer or Firefox. To summarize:
markers = html tags/text
field = web page
people who read markers = web browsers
What is an attribute?
• HTML elements can have attributes
• Attributes provide additional information about an element
• Attributes are always specified in the start tag
• Attributes come in name/value pairs like: name="value"
Attribute Example
HTML links are defined with the anchor tag. The link address is specified in the href attribute:
This is a link
• Attributes provide additional information about an element
• Attributes are always specified in the start tag
• Attributes come in name/value pairs like: name="value"
Attribute Example
HTML links are defined with the anchor tag. The link address is specified in the href attribute:
This is a link
Subscribe to:
Posts (Atom)