Archive | HTML

RSS feed for this section

HTML5 canvas: a circle follows the mouse

Read first: HTML5 canvas: Draw a circle move any direction HTML: CSS: Javascript: The result: Try it yourself: https://jsfiddle.net/eqc176y2/ We can use the script below to do the same: Try it yourself: https://jsfiddle.net/sans_amour/eqc176y2/2/ If you don’t want to move the circle out of the canvas, you can modify javascript code: Try it yourself: https://jsfiddle.net/eqc176y2/1/

Read full story Comments { 1 }

HTML5 canvas: Draw a circle move any direction

Read first: HTML5 canvas draw animated circle HTML: CSS: Javascript: Result: Try it Yourself: https://jsfiddle.net/qfs8entc/1/ In this tutorial, we can learn how to determine the text width in canvas by use measureText method. Read more: HTML5 canvas: a circle follows the mouse

Read full story Comments { 1 }

HTML5 canvas draw animated circle

HTML: CSS: Javascript: Result: Try it yourself: https://jsfiddle.net/gLx1a21f/ We can use the script below to do the same: Try it yourself: https://jsfiddle.net/8p5vtqg9/

Read full story Comments { 1 }
Create a Search Box using CSS/HTML

Create a Search Box using CSS/HTML

All of us who regularly encode web pages keep in mind hundreds of codes for various elements. In order to shorten the time the well is in one folder to specific elements of several styles to find us there when we need them again. Today I share with you my map “search box”. For beginners, […]

Read full story Comments { 0 }

PHP: How to parse out HTML comments

Method 1: Using preg_match_all function: Example: Result: Method 2: Example: Result: Bug: Result:

Read full story Comments { 0 }

Introduction to HTML5 and CSS3

The site of the world is entering a new technology and new standards. So they started developing HTML5 and CSS3.I will briefly describe HTML5.

Read full story Comments { 0 }

Multilevel drop down menu horisontal with CSS/JS/HTML

Horizontal drop down menu in several levels – or as we “drop down menu multilevel horisontal” is a common element of the website. When you first decide to locate in our code seems to be a very simple task, a few lines of html, css and a pair of nearly!

Read full story Comments { 0 }

Create a Search Box using CSS/HTML

Nowadays, most websites come with a search box to improve surfing experience. To make your website looks good, beside having a nice looking theme, you would need a fancy search box to replace the classic ones.

Read full story Comments { 0 }