Tags » HTML 2

HTML/Accessibility label-input pair

This is how usually developers write label–input pair:

<label for=”something”>Good?</label>

<input id=”something” type=”checkbox” />

This is correct and valid code but has a problem when you want to implement custom checkboxes/radio buttons where you want to hide the native input element. 104 more words


Formatting and working with Date objects in JavaScript

Recently I have posted a new article on C# Corner about date objects in JavaScript. I have always found more questions from beginners about Date objects in JavaScript, as compared to questions for Date objects in a server-side language. 250 more words


ការចាប់ផ្តើម Web Page ដំបូង

មេរៀនទី ១

ការចាប់ផ្តើម Web Page ដំបូង

១. ការកំណត់ប្លង់ 1,592 more words


HTML Download Attribute

Direct Download Image With HTML5

This attribute is only used if the href attribute is set.

The download attribute specifies that the target will be downloaded when a user clicks on the hyperlink. 50 more words


AngularJS Select Control with REST URL Integration

Select Control directive with option to populate data from a REST service.

Github Gist can be found here.

Following is the usage,

		<script type="text/javascript" src="angular.min.js"></script>
		<script type="text/javascript" src="restselect.js"></script>
		<script type="text/javascript">
			var app = angular.module('restSelectDemo', ['restselect']);
	<body ng-app="restSelectDemo">
		<div ng-controller="restSelectCtrl">
			<form id="frm" name="frm" ng-submit="formSubmit()">
					<!-- ng-required, ng-class and other attributes can be applied on the directive -->
					<rest-select ng-model="sOption" rest-url="http://jsonplaceholder.typicode.com/users" 
					Selected Option: {{sOption}}					
</html> 18 more words

Pengolahan Data String Pada PHP

Kali ini saya akan berbagi mengenai beebrapa fungsi yang sering digunakan dalam pengolahan string. Fungsi yang akan saya bahas adalah strlen(), strpos(), explode(), implode(), str_replace(), count(), substr(), htmlentities(), md5(), trim(), fungsi-fungsi pengubah kapitalisasi huruf dan beberpa fungsi lainnya. 741 more words


Adjusting Font Size: Pixel vs Ems

There are two measurements that I have been using to adjust font-size when using HTML and CSS:  pixels (px) and Ems (em). Even if you have never coded, you’ve probably heard of pixels, which refer to the tiny squares that make up the image of a computer screen. 385 more words