Category Archives: PHP Scripts

HTML Colors

You can define HTML colors as string, number or hexadecimal value. But it is always recommended to define the value as hexadecimal. All browser supports hexadecimal color codes. RGB Colors: RGB stands for Red, Green and Blue. The HTML format for a RGB value is rgb (Value of RED, Value of GREEN, Value of BLUE). The value range are from 0 to… Read More »

HTML Meta Tags

HTML Meta Tages can be used to specify additional metadata about a document, such as author,publication date, expiration date, page description, keywords, or other information not provided through the other header elements and attributes. Because of their generic nature, meta elements specify associative key-value pairs. Meta elements can specify HTTP headers which should be sent before the actual content when the HTML… Read More »

HTML5 Forms

HTML 5 Form Input Types Lets discuss what are the new input type introduced in HTML 5 and how to use them. color [Browser: Opera 11+, Chrome 20+ ] It used to give an option to the user to select a colour through a color picker. It returns the value as hexadecimal. <input id=”myColor” name=”myColor” type=”color”> Dates and times [Browser: Opera… Read More »

HTML Forms

HTML forms are used to send information to server. You can use input elements like text fields, radio buttons, check box, dropdown etc. to capture information. You can use multiple forms in a single HTML page, but you can’t use one form inside another form. <form action=”contact.php”></form> Form and the Attribute: Action: This attribute is used to send the information to the specified page.… Read More »

HTML iframe

Ifrems are used to show website inside a HTML page. <iframe src=”URL”></iframe> Iframe and the Attribute: Align: You can use left, right, top, middle or bottom to align the Iframe. <iframe src=”URL” align=”left”></iframe> Frameborder: You can use 0/1 to hide or display frame border. You can also use no/ yes. <iframe src=”URL” align=”left” frameborder=”0″></iframe> Height: You can set iframe height either in… Read More »