Category Archives: HTML

HTML Tutorial

HTML Tutorial

Beginner HTML Tutorial – Learn how to create HTML web pages. Learn the basics of HTML language: paragraph, headings, attributes, tables, lists, forms, colors. The HTML document starts with <html> and ends with </html>. The visible part of the HTML document is between <body> and </body>. The main sections of HTML tutorial are: HTML Basic Tags HTML Formatting… Read More »

HTML Comments

HTML Comments Comments are used in the HTML source to comment lines of code or to put notifications in the source page. Comments are ignored by the browser. The HTML comments uses the following syntax: HTML Comments <!DOCTYPE html> <html> <head> HTML Comments </head> <body> This is a paragraph with comment inside the source code. </body> </html>

HTML iFrames

HTML iFrames HTML iframe is used to display a web page within a web page. HTML iframes defines an inline frame. An HTML iframe is defined with the <iframe> tag. The HTML iframe tag can have the following attributes: The src attribute is used to provide the URL for the inline frame page. The width attribute specify the… Read More »

HTML Forms

HTML Forms HTML form displays html input elements like: text fields, password fields, checkboxes, radio buttons, buttons, menus etc. The <input> element is the most important form element, the input element defines an input control. The HTML <input> tag can have the following attributes: The type attribute specify the type of the input control. The name attribute specify… Read More »

HTML Colors

HTML Colors You can use HTML colors to set background of the web page, to set the background color for HTML elements like heading, paragraph, table. You can use HTML colors to set text color or border color. HTML Colors <!DOCTYPE html> <html> <head> HTML Colors </head> <body> Heading HTML Colors Heading HTML Colors 1. Paragraph HTML Colors… Read More »

HTML Image

HTML Image To insert a picture into a web page, use the img tag. The HTML img tag can have the following attributes: The src attribute is used to provide the URL for a image. The alt attribute is used to display an alternate text when an image fails to appear on the page. The width attribute is… Read More »

HTML Lists

HTML Lists HTML supports the following types of lists: ul – Unordered List ol – Ordered List dl – Description List HTML Lists <!DOCTYPE html> <html> <head> HTML Lists </head> <body> Unordered List Red Yellow Blue Green Ordered List Red Yellow Blue Green Description List HTML – learn html CSS – learn css language SQL – sql tutorial… Read More »

HTML Tables

HTML Tables An HTML table is defined with the <table> tag. The HTML table can have the following elements: The <table> tag defines the HTML table. The <tr> tag is used to define a table row. The <th> tag is used to define a table heading or title. The <td> tag is used to define a cell in… Read More »

HTML Links

HTML Links HTML links are called hyperlinks. The HTML <a> tag defines a hyperlink. The href attribute specifies the address of the link. The target attribute specifies to the browser where to open the linked page. The HTML target attribute can have the following values: _blank – Opens the linked page in a new window. _self – Opens… Read More »

HTML Attributes

HTML Attributes The HTML tags can have the following attributes: The title attribute is used to provide additional information. The href attribute is used to provide the URL for a link. The src attribute is used to provide the URL for a image. The alt attribute is used to display an alternate text when an image fails to… Read More »