<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <title>This is a title</title>
    /* comment */
    #xyz { color: red; }
    h1 { font: "Comic Sans"; }
  <body class="ui main">
    <p *ngFor="let name of names">Hello, {{ name }}!</p>

  <!-- JavaScript code -->
    document.body.appendChild(document.createTextNode('Hello World!')); // comment

  <!-- TypeScript code -->
  <script type="text/typescript">
    class Student {
        fullName: string;
        constructor(public firstName: string, public middleInitial: string, public lastName: string) {
            this.fullName = firstName + " " + middleInitial + " " + lastName;
    let a: null = null;
    let b: number = 12___3;

  <!-- JSX code -->
  <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
  <script type="text/babel">
      <h1>Hello, world!</h1>,
    function Story(props) {
      const SpecificStory = components[props.storyType];
      return <SpecificStory story={ props.story } attr2="&ref;" attr3="Hello\n" />;

  <!-- Mustache/Handlebars -->
  <script type="x-tmpl-mustache">
            <img src="{{poster}}" alt="{{title}}"/>
            Rating - {{ratings.critics_rating}}
            Movie Does Not Exist :(
    {{! comment }}

  <!-- HTML template -->
  <script type="text/html">
    <li><a href="link">Hello</a></li>

  <!-- Close the block correctly after "?" in the JavaScript highlighter -->


HTML Syntax Highlight Sample File (Standard)

- Follow HTML5 standard.
- Contain some valid, but not recommended syntax.
- Can be rendered by modern web browsers.

@author Guo Yunhe guoyunhebrave@gmail.com
@date   2016-09-17


<!DOCTYPE html>


<meta charset="utf-8">
<title>HTML Syntax Highlight Sample File (Standard)</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>


<!-- HTML5 defined elements -->

    This is a div. <span>This is a span</span>
        This is a div.

    This is a paragraph. <em></em>

<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>

<a href="http://www.w3schools.com">This is a link</a>


<img src="http://placehold.it/200x150" alt="This is an image" width="200" height="150">


    <li>List item</li>
    <li>List item</li>
    <li>List item</li>
    <li>List item</li>
    <li>List item</li>

    <li>List item</li>
    <li>List item</li>
    <li>List item</li>
    <li>List item</li>
    <li>List item</li>

        <th>Table head</th>
        <th>Table head</th>
        <th>Table head</th>
        <td>Table head</td>
        <td>Table head</td>
        <td>Table head</td>

    <input type="email" name="author"/>
    <input type="text" name="message"/>
    <button type="button">Send</button>

    <header>This is a header.</header>

    <nav>This is a nav.</nav>

        <h2>This is an article.</h2>
        <p>This is an article.</p>

        <h2>This is an aside.</h2>



<!-- Custom elements -->

        <booktitle>Just For Fun: The Story of an Accidental Revolutionary</booktitle>
        <author>Linus Torvalds</author>
            class="featured" title="Click to read full text...">
            A humorous autobiography of Linus Torvalds, the creator of the Linux
            kernel, co-written with David Diamond. The book primarily theorizes
            the Law of Linus that all evolution contributed by humanity starts
            for survival, sustains socially and entertains at last. As well as
            this the book explains Torvalds' view of himself, the free software
            movement and the development of Linux.</description>


<!-- Ends for single tag elements -->
<br />

<!-- Uppercase elements -->


<!-- Arrtibutes -->

<a href="#" style="background-color:rgba(0,0,0,0.3)" title="Click me">Magic button</a>

<img src="http://placehold.it/200x150" alt="This is an image" width="200"
     height="150" title="This is an image">

<!-- Attribute without value -->

    <option selected>GNU/Linux</option>

<!-- Attribute without quotes -->

<div id=name class=a-sweet-block data-counter=175>This is a div.</div>