html
Nov 10, 2021
How to force HTTPS using a web.config file
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<clear />
<rule name="Redirect to https" stopProcessing="true">
<match url=".*" />
<conditions>
<add input="{HTTPS}" pattern="off" ignoreCase="true" />
</conditions>Mar 14, 2017
Recommended way to embed PDF in HTML
<object data="http://yoursite.com/the.pdf" type="application/pdf" width="700px" height="700px">
<embed src="http://yoursite.com/the.pdf">
This browser does not support PDFs. Please download the PDF to view it: <a href="http://yoursite.com/the.pdf">Download PDF</a>.</p>
</embed>
</object>Dec 15, 2015
Bootstrap Example
<!doctype html>
<html lang="en">
<head>
<title>The HTML5 Herald</title>
<link href='css/bootstrap.css'rel='stylesheet'>
<meta charset="UTF-8">
<style>
.footer { background-color: #424242; color: #fff; }
.features .glyphicon { font-size: 32px; }
</style>
</head>
