summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorFrancisco Javier Llanquipichun Garcia <francisco.llanquipichun@gmail.com>2020-01-25 16:59:09 +0100
committerFrancisco Javier Llanquipichun Garcia <francisco.llanquipichun@gmail.com>2020-01-25 16:59:09 +0100
commit743f8256a0987922e8c9a1888b3f5e06bc2cf3bf (patch)
tree81bcd3ca2a3dbd538c1e21a256ed24de74484bcc /user_guide_src
parent2a80014590526ceaca427d9f9c1f5260b7b0de13 (diff)
inserted required attribute in html tags in documentation
Signed-off-by: Francisco Javier Llanquipichun Garcia <francisco.llanquipichun@gmail.com>
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/general/views.rst8
-rw-r--r--user_guide_src/source/libraries/file_uploading.rst4
-rw-r--r--user_guide_src/source/libraries/form_validation.rst6
-rw-r--r--user_guide_src/source/libraries/parser.rst6
-rw-r--r--user_guide_src/source/tutorial/static_pages.rst2
5 files changed, 13 insertions, 13 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);
diff --git a/user_guide_src/source/libraries/file_uploading.rst b/user_guide_src/source/libraries/file_uploading.rst
index 1b7581670..ce3de5a8a 100644
--- a/user_guide_src/source/libraries/file_uploading.rst
+++ b/user_guide_src/source/libraries/file_uploading.rst
@@ -35,7 +35,7 @@ Creating the Upload Form
Using a text editor, create a form called upload_form.php. In it, place
this code and save it to your **application/views/** directory::
- <html>
+ <html lang="en">
<head>
<title>Upload Form</title>
</head>
@@ -68,7 +68,7 @@ The Success Page
Using a text editor, create a form called upload_success.php. In it,
place this code and save it to your **application/views/** directory::
- <html>
+ <html lang="en">
<head>
<title>Upload Form</title>
</head>
diff --git a/user_guide_src/source/libraries/form_validation.rst b/user_guide_src/source/libraries/form_validation.rst
index a44310440..5f30817eb 100644
--- a/user_guide_src/source/libraries/form_validation.rst
+++ b/user_guide_src/source/libraries/form_validation.rst
@@ -65,7 +65,7 @@ The Form
Using a text editor, create a form called myform.php. In it, place this
code and save it to your application/views/ folder::
- <html>
+ <html lang="en">
<head>
<title>My Form</title>
</head>
@@ -100,7 +100,7 @@ The Success Page
Using a text editor, create a form called formsuccess.php. In it, place
this code and save it to your application/views/ folder::
- <html>
+ <html lang="en">
<head>
<title>My Form</title>
</head>
@@ -359,7 +359,7 @@ function calls!**
::
- <html>
+ <html lang="en">
<head>
<title>My Form</title>
</head>
diff --git a/user_guide_src/source/libraries/parser.rst b/user_guide_src/source/libraries/parser.rst
index 6c9d28959..c88681c04 100644
--- a/user_guide_src/source/libraries/parser.rst
+++ b/user_guide_src/source/libraries/parser.rst
@@ -9,7 +9,7 @@ It can parse simple variables or variable tag pairs.
If you've never used a template engine,
pseudo-variable names are enclosed in braces, like this::
- <html>
+ <html lang="en">
<head>
<title>{blog_title}</title>
</head>
@@ -95,7 +95,7 @@ you would like an entire block of variables to be repeated, with each
iteration containing new values? Consider the template example we showed
at the top of the page::
- <html>
+ <html lang="en">
<head>
<title>{blog_title}</title>
</head>
@@ -306,4 +306,4 @@ Class Reference
:rtype: void
Sets the delimiters (opening and closing) for a
- pseudo-variable "tag" in a template. \ No newline at end of file
+ pseudo-variable "tag" in a template.
diff --git a/user_guide_src/source/tutorial/static_pages.rst b/user_guide_src/source/tutorial/static_pages.rst
index 561082a48..8db105555 100644
--- a/user_guide_src/source/tutorial/static_pages.rst
+++ b/user_guide_src/source/tutorial/static_pages.rst
@@ -58,7 +58,7 @@ the following code:
::
- <html>
+ <html lang="en">
<head>
<title>CodeIgniter Tutorial</title>
</head>