Skip to main content

Posts

Showing posts with the label elements

Special Effects in HTML - Marquee

If you want your text to move with in the screen, use the tag   <marquee> .  The text in between the tags will move horizontally. <marquee bgcolor=pink> will give background color to marquee texts.   <marquee bgcolor=orange width=100 height=20> will set height and width for marquee text. <marquee bgcolor="orange" direction="right" height="20" width="100"> will set   direction to marquee text. <html> <body> This is a scrolling text This is a scrolling text with background color This is a scrolling text This is a scrolling text This is a scrolling text </body> </html> Copy and download the code and try your self.

Using Html Styles And Colors

Using html Styles and Colors : This post will help you to understand the use of div element and using styles and color elements perfectly. Copy the code and try... <html> <body> HTML STYLES AND COLORS Text with space Spannable Text </body> </html>

HTML Tag - Scripting

<script> This tag is used to define a client-side script, such as a javascript. <noscript> This tag is used to define an alternate content for users that have disabled scripts in their browser or have a browser that doesn't support script.The <noscript> can be used in both <head> and <body>.

HTML Tag - Forms

<form> This tag is used to create a HTML form for user input. <input> This tag specifies an input field where the user can enter data. <textarea> This tag defines a multi-line input control. <select> This tag is used to create a drop-down list. <option> This tag defines a option in a select list. <optgroup> This tag is used to group related options in a drop-down list. <button> This tag defines a clickable button. <label> This tag defines a label for an input element. <fieldset> This tag is used to group related elements in a form. <legend> This tag defines a caption foe the <fieldset> element. <html> <body> First name: Last name: Male Fill these details and submit it it.....!!!!!!!!!!! Personal Details: User Name: Email: Date of birth: ABC PQR XYZ SRT Submit it! </body> </html>

HTML Tag - Lists

<ul> This defines the unordered list. <ol> This defines the ordered list. <li> This defines the lst items. <dl> This defines the description list. <dt> This defines the name or item in description list. <dd> This defines a term or name in a description list. <html> <head> <body> angel mark coding palyground angel mark coding palyground Android easy to learn html hyper textmarkup language </body> </head> </html>

HTML Tag - Images and Objects

<img> This defines an image in a HTML page.They require attributes:src and alt. <area> This defines an area inside an image-map.Image-map is an image with clickable areas.This is always nested inside a <map> tag. <map> This is used to define a client-side image-map. <param> This is used to define a parameters for plugins embedded with an  <object> element. <object> This is used to define an embedded object within an HTML document.Use this element to embed multimedia (like audio,video,pdf etc..)in your web pages. <html> <body> </body> </html>

HTML Tags - Links

<a> This defines a hyperlink,which is used to link from one page to another.The most important attribute of the <a>element is the href attribute,which indicates the link's destination. <base> The <base> tag specifies the base URL/target for all relative URLs in a document. <html> <head> <body> Visit angel mark for more codes </body> </head> </html> <html> <head> <base href="http://eazyprogramming.blogspot.in/" > </head> <body> blog </body> </html>

HTM Tag - Structure

<html>.....</html> The <html> tag tells the browser that this is an HTML document.It represents the root of an HTML document.This tag is the container for all other HTML elements. <head>.....</head> The <head> tag is a container for all the head elements.The <head> element must include a title for the document, and can include scripts, styles, meta information, and more. <body>.....</body> The <body> tag defines the document's body.The <body> element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc. <div>.....</div> The <div> tag defines a division or a section in an HTML document.The <div> tag is used to group block-elements to format them with CSS. <span>.....</span> The <span> tag is used to group inline-elements in a document.They provides a way to add a hook to a part of a text or a part of a document. <html...