+ 1

title html

why the title of html can not display when i input coding php? is that right or i make a mistake?

9th Feb 2017, 5:32 AM
Velia Rahmadi
Velia Rahmadi - avatar
4 ответов
+ 5
The bug isn't in the code... There isn't really a bug, but a kind of limitation of code playground: anyway you use it on app, or in web browsers, in each case, the html page title will not display, as it normally is displayin as window/tab names: in app, there isn't such windows and or tab, and in browsers, the title of the page is corresponding to the web page of code playground, as it display your html/css/js ( php generated or not ) project inside, not as a standalone web page ^^
9th Feb 2017, 10:49 AM
visph
visph - avatar
+ 3
Posting your code here or a link to it in the playground would be helpful. but usually for a static title: <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <?php echo "Some code here"; ?> </body> </html> Or a dynamic title: <!DOCTYPE html> <html> <head> <title><?php echo $page_title ?></title> </head> <body> <?php echo "Some code here"; ?> </body> </html>
9th Feb 2017, 6:16 AM
ChaoticDawg
ChaoticDawg - avatar
+ 1
we can help without first identifying the bug(problem) in the code first so lets see your code and then fix your bug. ok vella
9th Feb 2017, 10:14 AM
EMMANUEL NUOTAH TUONUO DERY
EMMANUEL NUOTAH TUONUO DERY - avatar
- 1
<html> <head> <title>this is title</title> </head> <body> <?php echo "halo velia"; ?> </body> </html>
11th Feb 2017, 12:33 PM
Velia Rahmadi
Velia Rahmadi - avatar