0% found this document useful (0 votes)
3 views2 pages

HTML Simple Codes

The document contains multiple HTML code snippets demonstrating various aspects of web programming, including structure, headings, and styling. Each code block illustrates different HTML elements such as headings, paragraphs, and attributes like tooltips and inline styles. The examples serve as tutorials and references for web developers.

Uploaded by

Stanley Kioko
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

HTML Simple Codes

The document contains multiple HTML code snippets demonstrating various aspects of web programming, including structure, headings, and styling. Each code block illustrates different HTML elements such as headings, paragraphs, and attributes like tooltips and inline styles. The examples serve as tutorials and references for web developers.

Uploaded by

Stanley Kioko
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

CODE 1 It provides tutorials and references covering

<!DOCTYPE html> many aspects of web programming,

<html> including HTML, CSS, JavaScript, XML, SQL, PHP, ASP, etc.

<body> </p>

<h1>My First Heading</h1>

<p>My first paragraph.</p> <p><b>

</body> If you move the mouse over the paragraph above,

</html> the title will display as a tooltip.

CODE 2 </b></p>

<!DOCTYPE html>

<html> </body>

<body> </html>

<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>

</body>

</html>

CODE 3

<!DOCTYPE html>

<html>

<body>

<h1>About W3Schools</h1>

<p title="About W3Schools">

W3Schools is a web developer's site.


CODEE 4

<!DOCTYPE html>

<html>

<body style="background-color:lightgrey;">

<h1>This is a heading</h1>

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

</body>

</html>

CODE 5

<!DOCTYPE html>

<html>

<body>

<h1 style="color:blue;">This is a heading</h1>

<p style="color:red;">This is a paragraph.</p>

</body>

</html>

You might also like