Tech Study

How to define style information for a document in HTML

Introduction

How to define style information for a document in HTML.

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>www.techstudy.org</title>
  <style>
h2 {color:Red;}
p {color:Green;}
</style>
</head>
<body>
<h2>TechStudy</h1>
<p>TechStudy - The complete debugging solution</p>
</body>
</html>
</html>

Result

How to define style information for a document in HTML
How to define style information for a document in HTML

TaggedHow to define style information for a document in HTML

Java Final keyword

Introduction : java final keyword The final keyword present in Java programming language is generally used for restricting the user. …

Read more

C++ Memory Management: new and delete

C++ Memory Management We know that arrays store contiguous and the same type of memory blocks, so memory is allocated …

Read more