links
** Links are created using the element. ** The element uses the href attribute to indicate the page you are linking to.
- If you are linking to a page within your own site, it is
best to use relative links rather than qualified URLs. *
You can create links to open email programs with an
email address in the “to” field.
You can use the id attribute to target elements within
a page that can be linked to.
IMDB
layout
** Building Blocks ** CSS treats each HTML element as if it is in its own box. This box will either be a block-level box or an inline box. Block-level boxes start on a new line and act as the main building blocks of any layout, while inline boxes flow between surrounding text. You can control how much space each box takes up by setting the width of the boxes (and sometimes the height, too). To separate boxes, you can use borders, margins, padding, and background colors. ** Containing Elements ** If one block-level element sits inside another block-level element then the outer box is known as the containing or parent element CSS has the following positioning schemes that allow you to control the layout of a page: normal flow, relative positioning, and absolute positioning. You specify the positioning scheme using the position property in CSS. You can also float elements using the float property
function
- Functions let you group a series of statements together to perform a
specific task. If different parts of a script repeat the same task, you can
reuse the function (rather than repeating the same set of st atements). *
exp
var msg = ‘Sign up to receive our newsletter for 10% off!’;
function updateMessage() {
var el = document.getElementByld(‘message’};
el .textContent = msg;
}
updateMessage(};
# 6 Reasons for Pair Programming
- Greater efficiency
- Engaged collaboration 3.Learning from fellow students
- Social skills
- Job interview readiness
- Work environment readiness