Welcome to Full Stack Course | Lesson 4

1. Forms



Note: don't break line before </textarea>. Some browsers may send non-empty value when there is no value.

Note: this doesn't apply any encryption when the data is actually sent, so don't rely on a password field to actually secure the data.


Basic Standard Premium    Note: if user didn't select one of the options, nothing will be sent to the server.

Running Cycling Swimming




About method attribute of form

The method attribute specifies the HTTP method (GET or POST) to be used when submitting the form data.

To send a file use enctype="multipart/form-data attribute

input type="hidden"

is used for sending IDs like product ID that was choosen by user.
Example: input type="hidden" name="product_id" id="product_id" value="789"
Do not use hidden inputs as a form of security! The value is not visible to regular user only.


2. Meta Tags

The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page.

head>
   <meta> name="" content="" </meta>
</head>

Examples:

3. iframe

iframe - an inline frame is used to embed another document within the current HTML document.

External Web Site:

Video from YouTube:

Open some video on the the YouTube, press on Share --> Embed, than copy iframe section.

<iframe src="URL"></iframe>

Attributes:



4. Introduction to CSS

Cascading Style Sheets (CSS) is a stylesheet language used to describe the presentation of a document written in HTML. The name cascading comes from the specified priority scheme to determine which style rule applies if more than one rule matches a particular element. This cascading priority scheme is predictable.

Example:
div {
   color: red;
   font-size: 25px;
   font-family: Arial, Helvetica, sans-serif;
}


Created with ❤ by Raya Levinson