Download presentation
Presentation is loading. Please wait.
Published byJulia Gilmore Modified over 9 years ago
1
1 Review of HTML Elements
2
2 The tag <!-- Text_to_comment --> These tags are marked as comments in HTML. Any text between these two comment tags will not be displayed in the user’s browser window.
3
3 The tag This tag tells the browser to add a line break to the current page.
4
4 The tag tag Tells the browser to include an image into the current page.
5
5 The tag src Sets the source URL for the image. This parameter is required. alt Sets the alternative text for the image. If the current browser is incapable of displaying image, this text will be displayed instead. width Sets the width of the image. Two possible values can be set for this parameter. One is number that sets the width of the image in pixels. The other is a % that sets the width of the image as a % of the curent browser viewscreen. height Sets the height of the image. Two possible values can be set for this parameter. One is number that sets the height of the image in pixels. The other is a % that sets the height of the image as a % of the curent browser viewscreen. If you do not use height and width attributes the image will be displayed by its default size.
6
6 The tag tag used in between tags. tag Displays a horizontal line accross the page. The horizontal line will be displayed in pseudo 3D. The appearance of the line varies according to the browser used.
7
7 The tag align sets the horizotal alignment of the horizontal rule. Possible parameters: center,left,right color sets the color of the horizontal rule. noshade removes the pseudo 3D shading from the horizontal rule. Size Sets the size of the horizontal rule in pixels. Width Sets the width of the horizontl rule. The possible values for this parameter can either be a number or a percent. A number sets the horizontal rule width in pixels. A number followed by a % sets the horizontal width to a % relative to the size of the browser display.
8
8 The tag tag used in between tags. Text_to_be_displayed href Tells the browser the target URL of the hyperlink Tag The tag defines either a hyperlink that allows a browser to jump to another page, or it defines a bookmark. HREF or NAME parameter is required.
9
9 The tag Text_to_be_displayed target Tells the browser which frame to jump to. _blank :means open a new browser window. _self : means use the currenct window (and if exists current frame)
10
10 The tag Text_to_be_displayed href Starting with mailto: When someone clicks this type of anchored link, most browsers lnch the default e-mail program.
11
11 The tag Text_to_be_focused Later/before somewhere to focus on this item Text_to_focus name This parameter sets the current location as a bookmark using the indicated name. It is possible to focus to some location in a remote file. Text_to_focus
12
12 The tag tag places a table onto the page. border Sets the width of the border in pixels. If it is not set, the border around the table will be transparent. Width Sets the width of the table. The possible values for this parameter can either be a number or a percent. A number sets the table width in pixels. A number followed by a % sets the table width to a % relative to the size of the browser display.
13
13 The tag Used in between tags. tag Indicates a row in a table. align Sets the horizontal alignment of the table row. Possible parameters: center,left,right. Valign Sets the vertical alignment of the table row. Possible parameters: baseline,bottom,center,top.
14
14 The tag Used in between tags. tag Is used to specify a element of a table. one two three
15
15 The tag align Sets the horizontal alignment of the table data. The possible values can be : center,left,right. height Sets the height of the table element. width Sets the width of the table element. valign Sets the vertical alignment of the table element. The possible values for this parameter are: baseline,bottom,center,top. nowrap İs used when the browser should not wrap text.
16
16 The tag One Two Three Four Five Six Output: OneTwoThree Four FiveSix
17
17 The tag colspan Sets the number of columns that this table element should span
18
18 The tag One Two Three Four Five Six Output: OneTwoThree FourFive Six
19
19 The tag rowspan Sets the number of rows that this table element should span.
20
20 The tag Used in between tags. tag Is used to set a table heading element in a table. This command is identical to the, except the text between the start and the end tag is boldfaced.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.