@Serag8 You can't have <html>, <head> or <body> tags here. These exist in the application layout. If you wan't to make the page's title change with every view, google on how to do that in rails.