Home / Articles / Programming languages / Markup languages

Markup languages

HTML5: placeholder attribute with cross-browser support

HTML5: placeholder attribute with cross-browser support
The most pleasant innovation in HTML5 is its ability to display default text inside an input field and a text area. This became possible with introduction of placeholder attribute in HTML5.

The HTML5 hype - is Flash really dead?

The HTML5 hype - is Flash really dead?
Having too many choices is sometimes not very helpful. Unfortunately, developers always have to face such a confusing situation.

Creating an image slider using only CSS3 (without page scrolling)

Creating an image slider using only CSS3 (without page scrolling)
This is improved version of the slider which was presented in the previous article.

How to set margins and paddings in CSS

How to set margins and paddings in CSS
How can you tell the difference between margin and padding and when one should use them.

How to display inline elements as block elements and visa-versa

How to display inline elements as block elements and visa-versa
If we are not satisfied with the way a browser treats HTML elements by default we can change it.

Creating an image slider using only CSS3

Creating an image slider using only CSS3
Usually image sliders are created in JavaScript, but with release of CSS3 this can be done in CSS3 without JavaScript. An image slider in the current article is quite simple to demonstrate that elaborate things can be achieved keeping the minimum code.

How to improve CSS code

How to improve CSS code
We are going to talk about compactness (neatness) and correctness of CSS code.

hasLayout in Internet Explorer

hasLayout in Internet Explorer
Probably, you have already heard about the property hasLayout in IE and maybe you even know what it is and how it affects display of elements. No? Then let's have a closer look at this mysterious property.

MP3 player using HTML5

MP3 player using HTML5
If you are only beginning to work with HTML5 and you strive for new knowledge - the following tutorial is what you need. Here, in a simple way we'll try our best to explain how to create your own HTML5 MP3 player.

When to use CSS ids and when CSS classes instead?

When to use CSS ids and when CSS classes instead?
At first glance, the use of classes and ids is almost identical: both can assign CSS properties with needed values to change the appearance of HTML document. But, under what circumstances can we make better use of classes, and under what ids?

Box with rounded corners using CSS3

Box with rounded corners using CSS3
There were always problems with rounded corners when working with boxes.

CSS hacks for Mozilla Firefox, Opera, Safari and Internet Explorer

CSS hacks for Mozilla Firefox, Opera, Safari and Internet Explorer
Most of the prominent browsers (Opera, Mozilla Firefox and Safari) don't have a method of targeting CSS for a particular browser.

CSS selectors

CSS selectors
In CSS, templates of selectors are used to select element(s) which you want to style.

What are vendor prefixes in CSS?

What are vendor prefixes in CSS?
Vendor prefixes are prefixes added to CSS properties that are used by browser vendors for non-standard properties.