Home / Articles / Programming languages

Programming languages

Inserting images in HTML

Inserting images in HTML
To insert an image into a document use the img tag, that has a required parameter src, which defines the address of a file with picture and alt that defines the alternative text.

Image size in HTML

Image size in HTML
To change the size of an image in HTML you can use attributes width and height of img tag.

Graphics formats in HTML

Graphics formats in HTML
There are two widely used formats for web graphics - GIF and JPEG.

Text alignment in HTML

Text alignment in HTML
Text alignment determines the appearance and orientation of the edges of the paragraph. The alignment can be to the left, right, center, or justified.

Font size in HTML

Font size in HTML
There are several ways to change the font size - for example, you can use headers h1, h2, h3, h4, h5, h6 or tags big and small.

Formatting text in HTML

Formatting text in HTML
Text formatting - different means to edit text, as for example - choosing font style and usage of effects that allow you to change the text.

HTML colors

HTML colors
There are three ways to set colors on a web page: the first uses color designations in hexadecimals, the second - in decimal, and the third - uses names of certain colors.

File structure of the site

File structure of the site
From developer's perspective any site can be divided into two levels - logical and physical. On a logical level site is a collection of web pages, united by a single design, style and links.

The structure of HTML document

The structure of HTML document
The term HTML is short for HyperText Markup Language.

How to validate a document and correctly mark up HTML pages (Transitional vs Strict)

How to validate a document and correctly mark up HTML pages (Transitional vs Strict)
This article will focus on a seemingly out-of-date topic - validation of a web document by one of DTD-markup declarations, which in turn are defined by DOCTYPE.

How to write in HTML

How to write in HTML
Any work, especially writing, should be done carefully, because to redo it in the future will be much harder, especially if it is created for some high-traffic official site.

Conditional comments for IE

Conditional comments for IE
Conditional comments are used to write special instructions that only work in Internet Explorer below version 5.

CSS "vertical-align: middle" property for all browsers including IE7 and IE6

CSS "vertical-align: middle" property for all browsers including IE7 and IE6
Here are the examples how to place the elements in the middle of the parent element. One of them is improved to make it workable even in IE7 and IE6.

Details about "float" property

Details about "float" property
Proper use of CSS float property may turn out a daunting task even for an experienced coder. This article contains the examples of applying of property float, as well as some mistakes with illustrative examples.

Quick navigation

General navigation