summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/general/views.rst
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2020-01-27 18:40:36 +0100
committerGitHub <noreply@github.com>2020-01-27 18:40:36 +0100
commite7c36079d6885ee9bd25f8cae70f0049d46b9d60 (patch)
tree97936ac3332411d56a1caedc87112a416b1fced2 /user_guide_src/source/general/views.rst
parentecc8d4f89dd13a222fa681b19af5f1a07466f290 (diff)
parent743f8256a0987922e8c9a1888b3f5e06bc2cf3bf (diff)
[ci skip] Merge pull request #5891 from franciscollanquipichun/develop
Inserted required attribute `lang` in html tags
Diffstat (limited to 'user_guide_src/source/general/views.rst')
-rw-r--r--user_guide_src/source/general/views.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/user_guide_src/source/general/views.rst b/user_guide_src/source/general/views.rst
index 2fc0cb2ca..b84e85399 100644
--- a/user_guide_src/source/general/views.rst
+++ b/user_guide_src/source/general/views.rst
@@ -22,7 +22,7 @@ Creating a View
Using your text editor, create a file called blogview.php, and put this
in it::
- <html>
+ <html lang="en">
<head>
<title>My Blog</title>
</head>
@@ -138,7 +138,7 @@ Let's try it with your controller file. Open it add this code::
Now open your view file and change the text to variables that correspond
to the array keys in your data::
- <html>
+ <html lang="en">
<head>
<title><?php echo $title;?></title>
</head>
@@ -176,7 +176,7 @@ Here's a simple example. Add this to your controller::
Now open your view file and create a loop::
- <html>
+ <html lang="en">
<head>
<title><?php echo $title;?></title>
</head>
@@ -210,4 +210,4 @@ some way. If you set the parameter to TRUE (boolean) it will return
data. The default behavior is false, which sends it to your browser.
Remember to assign it to a variable if you want the data returned::
- $string = $this->load->view('myfile', '', TRUE); \ No newline at end of file
+ $string = $this->load->view('myfile', '', TRUE);