Skip to content

Instantly share code, notes, and snippets.

@sbutkaliuk
Created May 10, 2016 07:36
Show Gist options
  • Save sbutkaliuk/970225f7a479e79ec2f5441cffacedf6 to your computer and use it in GitHub Desktop.
Save sbutkaliuk/970225f7a479e79ec2f5441cffacedf6 to your computer and use it in GitHub Desktop.
<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta charset="ascii"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/2.6-latest/MathJax.js?config=TeX-AMS-MML_SVG"></script>
<style type="text/css">
dfn, .imaged {
/*margin-right: 0.2em;*/
padding-right: 1em;
background: url("http://www.w3schools.com/images/html5.gif") right center no-repeat;
background-size: 0.7em;
}
</style>
<script type="text/javascript">
$(document).ready(function(){$('body').css('visibility', 'visible').css('width',800)})
</script>
</head>
<body>
<a><dfn>only text in braces (<span>text</span>)</dfn></a>,
<br/>
<a><dfn>empty formula in braces (<math></math>)</dfn></a>,
<br/>
<a><dfn>full formula in braces (
<math>
<mrow>
<mo>&#916;</mo>
<msubsup>
<mi>H</mi>
<mrow>
<mtext>f</mtext>
</mrow>
<mo>&#176;</mo>
</msubsup>
</mrow>
</math>
)
</dfn></a>,
<br/>
<a><span class="imaged">standard enthalpy of formation (<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mo>&#916;</mo>
<msubsup>
<mi>H</mi>
<mrow>
<mtext>f</mtext>
</mrow>
<mo>&#176;</mo>
</msubsup>
</mrow>
</math>
)
</span></a>
<br/>
</body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment