Can i able to embed all kind of html tags in php tag ? Like style attribute containing html tags and some more html tags..... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can i able to embed all kind of html tags in php tag ? Like style attribute containing html tags and some more html tags.....

If not means then explain which html tags can be able to embed inside PHP tag...

4th May 2020, 4:30 AM
Yogeshwaran
2 Answers
+ 1
All html tags can be embedded in php tag the role of php is tranform data information in data html readable by the web Browser So all tag Html can be embedded
4th May 2020, 6:11 AM
HEUBA BATOMEN Franck Duval
HEUBA BATOMEN Franck Duval - avatar
0
You can use all html tags in your php script but not inside the <?php ?> tags. If you want to print html tags inside the php tags place it in a string and echo or print it.
4th May 2020, 6:04 AM
Ore
Ore - avatar