<!DOCTYPE html>
<html>
<body bgcolor="grey">
<center><h2>Albert Eienstine</h2></center>
<center><p>E = mc<sup>2</sup></p></center>
<center></center>
<center><img src="file:///C:/Users/Banty/Pictures/einstein-12923-content-portrait-mobile-tiny.jpg" width="200" height="200"></center>
<center><p>14 March 1879 – 18 April 1955</p></center>
<div>
<center><h2><i>(E=mc<sup>2</sup></i>)</h2></center>
</div>
<center><div><b>10 Things  you didn't know about albert einstein</b></div></center>
<div>
<ul>
<li>Albert Einstein was a German-born theoretical physicist, widely acknowledged to be one of the greatest physicists of all time. Einstein is best known for developing the theory of relativity, but he also made important contributions to the development of the theory of quantum mechanics</li>
<li>Albert Einstein, German-born physicist who developed the special and general theories of relativity, pioneering many key developments.
Born: March 14, 1879 Ulm Germany</li>
<li>16-May-2019 — An outspoken pacifist who was publicly identified with the Zionist movement, Einstein emigrated from Germany to the United States when the ***** ...
Date of birth: March 14, 1879</li>
<li>Considered by many to be the greatest scientist of the twentieth century, Albert Einstein revolutionized scientific thought with new theories of space, ...
Place of birth: Ulm</li>
<li>Albert Einstein is justly famous for devising his theory of relativity, which revolutionized our understanding of space, time, gravity, and the universe.</li>
<li>April 18, 1955—Albert Einstein dies soon after a blood vessel bursts near his heart. When asked if he wanted to undergo surgery, Einstein refused, saying, "I want to go when I want to go. It is tasteless to prolong life artificially.</li>
<li>So when he died at age 76 of a burst aorta in Princeton Hospital, his brain was immediately removed from his body by Thomas Harvey</li>
<li>Einstein excelled at math and physics from a young age, reaching a mathematical level years ahead of his peers. The 12-year-old Einstein taught himself algebra and Euclidean geometry over a single summer</li>
<li>In letters revealed in 2015, Einstein wrote to his early love Marie Winteler about his marriage and his strong feelings for her. He wrote in 1910, while his wife was pregnant with their second child:</li>
<li>Because of Einstein's travels to the Far East, he was unable to personally accept the Nobel Prize for Physics at the Stockholm award ceremony in December 1922. In his place, the banquet speech was made by a German diplomat, who praised Einstein not only as a scientist but also as an international peacemaker and activist</li>
</ul>

</div>
</body>
</head>
</html>

 

HTML Online Editor & Compiler

Write, Run & Share HTML code online using OneCompiler's HTML online Code editor for free. It's one of the robust, feature-rich online Code editor for HTML language, running on the latest version HTML5. Getting started with the OneCompiler's HTML compiler is simple and pretty fast. The editor shows sample boilerplate code when you choose language as HTML. You can also specify the stylesheet information in styles.css tab and scripts information in scripts.js tab and start coding.

About HTML

HTML(Hyper Text Markup language) is the standard markup language for Web pages, was created by Berners-Lee in the year 1991. Almost every web page over internet might be using HTML.

Syntax help

Fundamentals

  • Any HTML document must start with document declaration <!DOCTYPE html>
  • HTML documents begin with <html> and ends with </html>
  • Headings are defined with <h1> to <h6> where <h1> is the highest important heading and <h6> is the least important sub-heading.
  • Paragrahs are defined in <p>..</p> tag.
  • Links are defined in <a> tag.

    Example:

    <a href="https://onecompiler.com/html">HTML online compiler</a>
    
  • Images are defined in <img> tag, where src attribute consists of image name.
  • Buttons are defined in <button>..</button> tag
  • Lists are defined in <ul> for unordered/bullet list and <ol> for ordered/number list, and the list items are defined in <li>.

HTML Elements and Attributes

  • HTML element is everything present from start tag to end tag.
  • The text present between start and end tag is called HTML element content.
  • Anything can be a tagname but it's preferred to put the meaningful title to the content present as tag name.
  • Do not forget the end tag.
  • Elements with no content are called empty elements.
  • Elements can have attributes which provides additional information about the element.
  • In the below example, href is an attribute and a is the tag name.

    Example:

    <a href="https://onecompiler.com/html">HTML online compiler</a>
    

CSS

CSS(cascading style sheets) describes how HTML elements will look on the web page like color, font-style, font-size, background color etc.

Example:

Below is a sample style sheet which displays heading in green and in Candara font with padding space of 25px.

body{
  padding: 25px;
}
.title {
	color: #228B22;
	font-family: Candara;
}

HTML Tables

  • HTML Tables are defined in <table> tag.
  • Table row should be defined in <tr> tag
  • Table header should be defined in <th> tag
  • Table data should be defined in <td> tag
  • Table caption should be defined in <caption> tag

HTML-Javascript

  • Javascript is used in HTML pages to make them more interactive.
  • <script> is the tag used to write scripts in HTML
  • You can either reference a external script or write script code in this tag.

Example

<script src="script.js"></script>