­
September 2016 - Yaar No Technology

Search the Whole World Here.,.,

Image Size - Width and Height

Image Size - Width and Height

You can use the style attribute to specify the width and height of an image. The values are specified in pixels (use px after the value): Example <img src="html5.gif" alt="HTML5...
The alt Attribute

The alt Attribute

The alt attribute provides an alternate text for an image, if the user for some reason cannot view it (because of slow connection, an error in the...
HTML Images Syntax

HTML Images Syntax

In HTML, images are defined with the img tag. The img tag is empty, it contains attributes only, and does not have a closing tag. The...
HTML Images

HTML Images

JPG Images GIF Images                              ...
HTML Links - Create a Bookmark

HTML Links - Create a Bookmark

HTML bookmarks are used to allow readers to jump to specific parts of a Web page. Bookmarks can be useful if your webpage is very long. To make...
HTML Links - Image as Link

HTML Links - Image as Link

It is common to use images as links: Example <a href="default.asp">  <img src="smiley.gif" alt="HTML tutorial" style="width:42px;height:42px;border:0;"></a> Try...
HTML Link Colors

HTML Link Colors

By default, a link will appear like this (in all browsers): An unvisited link is underlined and blue A visited link is underlined and purple An...
HTML Local Links

HTML Local Links

The example above used an absolute URL (A full web address). A local link (link to the same web site) is specified with a relative URL (without...
HTML Links - Syntax

HTML Links - Syntax

In HTML, links are defined with the <a> tag: <a href="url">link text</a> Example <a href="https://www.facebook.com/yaarnotech/">Visit...
HTML Links - Hyperlinks

HTML Links - Hyperlinks

HTML links are hyperlinks. You can click on a link and jump to another document. When you move the mouse over a link, the mouse arrow will turn into...
The class Attribute

The class Attribute

To define a style for a special type of elements, add a class attribute to the element: <p class="error">I am different</p> then...
The id Attribute

The id Attribute

To define a specific style for one special element, add an id attribute to the element: <p id="p01">I am different</p> then define...
CSS Margin

CSS Margin

The CSS margin property defines a margin (space) outside the border: Example p {    border: 1px solid powderblue;   ...
CSS Padding

CSS Padding

The CSS padding property defines a padding (space) between the text and the border: Example p {    border: 1px...
CSS Border

CSS Border

The CSS border property defines a border around an HTML element: Example p {    border: 1px solid powderblue;} Try...
CSS Fonts

CSS Fonts

The CSS color property defines the text color to be used. The CSS font-family property defines the font to be used. The CSS font-size property...
External CSS

External CSS

An external style sheet is used to define the style for many HTML pages. With an external style sheet, you can change the look of an entire web site,...
Internal CSS

Internal CSS

An internal CSS is used to define a style for a single HTML page. An internal CSS is defined in the head section of an HTML page, within a style element: Example <!DOCTYPE html><html><head><style>body {background-color: powderblue;}h1   {color: blue;}p    {color: red;}</style></head><body><h1>This...
Inline CSS

Inline CSS

An inline CSS is used to apply a unique style to a single HTML element. An inline CSS uses the style attribute of an HTML element. This example...

Ads by Google