Skip to content

Instantly share code, notes, and snippets.

Đặng Đình Tứ dangdinhtu2014

Block or report user

Report or block dangdinhtu2014

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dangdinhtu2014
dangdinhtu2014 / schema-org-structured-data-markup-using-microdata.html An example of how to mark up a HTML5 webpage using the schema.org schemas and microdata.
View schema-org-structured-data-markup-using-microdata.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Site Title</title>
<link rel="stylesheet" href="/assets/css/style.min.css">
@dangdinhtu2014
dangdinhtu2014 / php-html-css-js-minifier.php
Created Mar 28, 2016 — forked from tovic/php-html-css-js-minifier.php
PHP Function to Minify HTML, CSS and JavaScript
View php-html-css-js-minifier.php
<?php
/**
* -----------------------------------------------------------------------------------------
* Based on `https://github.com/mecha-cms/mecha-cms/blob/master/system/kernel/converter.php`
* -----------------------------------------------------------------------------------------
*/
// HTML Minifier
function minify_html($input) {
You can’t perform that action at this time.