> rails g controller InlineHow can you add the page1 view after the fact? Ans:
def page3 end
get 'inline/page1'
Create a zip file by right clicking on the Rails folder >> Send To >> Compressed (zipped folder)
<!DOCTYPE html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">or
<html lang="en">although
<html>works for most browsers.
Attribute | Values | Meaning | Examples |
---|---|---|---|
charset | UTF-8 ISO-8859-1 | Character set of page | <meta charset="UTF-8"> |
http-equiv | content-type default-style refresh |
Provides an HTTP header for the content attribute |
<meta http-equiv="refresh"
content="30"> |
name | application-name author description generator keywords |
Specifies the name of the metadata | <meta
name="author" content="Alfred E. Newman"> |
content | text | The value associated with the http-equiv or name attribute | <meta
name="description" content="Chicago dog groomers"> <meta name="keywords" content="HTML,CSS,Ruby,Rails"> |