<html> <head> <title>Mortgage</title> <script> function insertValues() { // Get user input var name = document.getElementById("name").value; var bankerName = document.getElementById("bankerName").value; var mortgageNumber = document.getElementById("mortgageNumber").value; var clientName = document.getElementById("clientName").value; var pledgeYear = document.getElementById("pledgeYear").value; var pattaNumber = document.getElementById("pattaNumber").value; var surveyNumber = document.getElementById("surveyNumber").value; var extent = document.getElementById("extent").value; // Create paragraphs with user input var mortgageParagraph = `It is noted that there is an active mortgage against the said property by the said ${name}, to and in favor of ${bankerName}. It is advisable to obtain a 'Discharge Receipt' from ${bankerName}, before the loan process.\n\nDischarge Receipt for Mortgage Document No. ${mortgageNumber}`; var balanceTransferParagraph = `There is an Active Mortgage against the said property, but ${clientName} has informed us that it is a 'Balance Transfer Case'. Hence, it is advisable to procure a 'Discharge Receipt' from ${bankerName} before the loan process. ${clientName} to proceed as per their policy prior to disbursing the loan.`; var conclusionParagraph = `However, there is an Active Mortgage against the said property, but ${clientName} has informed us that it is a 'Balance Transfer Case' from ${bankerName}. Hence, it is advisable to procure a Discharge Receipt from ${bankerName} before the loan process. ${clientName} to proceed as per their policy prior to disbursing the loan.`; var rejectedParagraph = `However, documents (${pledgeYear} and other documents) required to identify the chain of ownership/title were requested but not made available for our perusal. Further, ${clientName} has stated that this property has been rejected due to the non-availability of documents. Hence this property 'stands rejected'.`; var pattaParagraph = `Online Joint Patta No. ${pattaNumber}, in survey number[s] ${surveyNumber} for an extent of ${extent}, in the name of ${name} was made available for our perusal.`; var vaoParagraph = `VAO certificate to ascertain the Boundaries with the Passage in survey number[s] ${surveyNumber} the extent, owned by ${name} [This property is landlocked on all four sides] / since the partial property has been sold/settled.`; // Update the HTML content with the generated paragraphs document.getElementById("mortgageResult").innerHTML = mortgageParagraph; document.getElementById("balanceTransferResult").innerHTML = balanceTransferParagraph; document.getElementById("conclusionResult").innerHTML = conclusionParagraph; document.getElementById("rejectedResult").innerHTML = rejectedParagraph; document.getElementById("pattaResult").innerHTML = pattaParagraph; document.getElementById("vaoResult").innerHTML = vaoParagraph; } </script> </head> <body> <h1>Mortgage</h1> <form> <label for="name">Name: </label> <input type="text" id="name"><br> <label for="bankerName">Banker's Name: </label> <input type="text" id="bankerName"><br> <label for="mortgageNumber">Mortgage Document No./Year: </label> <input type="text" id="mortgageNumber"><br> <h2>Balance transfer</h2> <form> <label for="clientName">Client's Name: </label> <input type="text" id="clientName"><br> <label for="bankerName">Banker's Name: </label> <input type="text" id="bankerName"><br> <label for="pledgeYear">Pledge Doc./Year: </label> <input type="text" id="pledgeYear"><br> <h3>Rejected</h3> <form> <label for="pledgeYear">Pledge Doc./Year: </label> <input type="text" id="pledgeYear"><br> <label for="clientName">Client's Name: </label> <input type="text" id="clientName"><br> <h4>Patta</h4> <form> <label for="pattaNumber">Patta Number: </label> <input type="text" id="pattaNumber"><br> <label for="surveyNumber">Survey Number(s): </label> <input type="text" id="surveyNumber"><br> <label for="extent">Extent: </label> <input type="text" id="extent"><br> <label for="name">Name: </label> <input type="text" id="name"><br> <h5>VAO</h5> <form> <label for="surveyNumber">Survey Number(s): </label> <input type="text" id="surveyNumber"><br> <label for="extent">Extent: </label> <input type="text" id="extent"><br> <label for="name">Name: </label> <input type="text" id="name"><br> <input type="button" value="Generate Paragraphs" onclick="insertValues()"> </form> <h2>Mortgage:</h2> <p id="mortgageResult"></p> <h2>Balance Transfer:</h2> <p id="balanceTransferResult"></p> <h2>Conclusion:</h2> <p id="conclusionResult"></p> <h2>Rejected:</h2> <p id="rejectedResult"></p> <h2>Patta:</h2> <p id="pattaResult"></p> <h2>VAO:</h2> <p id="vaoResult"></p> </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>