What is the difference between HTML elements and tags?

HTML Tags: HTML tags are the beginning and ending parts of an HTML element. They are eliminated starting from a symbol. Inside the is also written that tag.


<html> </html>, <body> </body>, <br>, <hr> , <img>

HTML element: The content in the middle of an HTML tag is called an HTML element. They have some kind of structure or expression. It usually consists of a start tag, content, and an end tag.


<p> This is paragraph</p>

<h1>Hi this is the answer</h1>

<title>My website</title>

<br> Line break

<hr> Horizontal Line

<b>It is the example of Html element</b>

ElementWith tags
Paragraph<p>This is paragraph</p>
Heading<h1>This is heading</h1>
Title<title>My website</title>
Line break<br>
Horizontal Line<hr>


<!DOCTYPE html>

<h1>This is The DevOpsSchool</h1>
<p>DevOpsSchool is one of the largest DevOps Training provider for beginners.</p>



Tagged : / / / /

Target class [PostController] does not exist.

Whenever you got this types of error go to your Route/web.php file and checkout your Controller class is mention there or not.

Next Go to PostController file and copy your controller class

Now go to Routes/web.php and class this class

use App\Http\Controllers\PostController;
php artisan serve

Now its working properly


Tagged : / / / /