<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Sorry Letter</title> <style> body { font-family: Arial, sans-serif; background-color: #f0f0f0; color: #333; margin: 0; padding: 0; } .container { max-width: 600px; margin: 50px auto; padding: 20px; background-color: #fff; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); border: 2px solid #ccc; /* Added border */ } h1 { color: #ff6347; /* Tomato */ } p { margin-bottom: 15px; } .emoji { font-size: 24px; margin-right: 5px; } </style> </head> <body> <div class="container"> <h1>Sorry :> </h1> <p>Dear Daeniel,</p> <p>Sorry kung hindi ako sumipot nung araw na ililibre ko kayo ni mary grace bigla kasi ako nilagnat nung araw na yon </p> <p>Sorry kung di kita kinakausap sa school natatakot kasi ako baka kung ano yung sabihin saakin ni mary grace kahit mag sorry ako sa personal.</p> <p>Sana pansinin mo pa din ako sa school kahit may nagawa akong kasalanan🥺</p> <p>Muli, talagang ikinalulungkot ko ang aking mga aksyon, at umaasa ako na maaari tayong sumulong mula sa karanasang ito nang may pag-unawa at pagpapatawad.</p> <p>Salamat sa paglalaan ng oras upang basahin ang liham na ito. Pinahahalagahan ko ang iyong pasensya at pag-unawa.</p> <p>Sincerely,</p> <p>Justine</p> <p><span class="emoji">🙏</span><span> </span><em></em></p> </div> </body> </html>
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.
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.
<!DOCTYPE html>
<html>
and ends with </html>
<h1>
to <h6>
where <h1>
is the highest important heading and <h6>
is the least important sub-heading.<p>..</p>
tag.<a>
tag.
<a href="https://onecompiler.com/html">HTML online compiler</a>
<img>
tag, where src
attribute consists of image name.<button>..</button>
tag<ul>
for unordered/bullet list and <ol>
for ordered/number list, and the list items are defined in <li>
.<a href="https://onecompiler.com/html">HTML online compiler</a>
CSS(cascading style sheets) describes how HTML elements will look on the web page like color, font-style, font-size, background color etc.
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;
}
<table>
tag.<tr>
tag<th>
tag<td>
tag<caption>
tag<script>
is the tag used to write scripts in HTML<script src="script.js"></script>