HTML Standard Attributes

HTML tags can have attributes. The special attributes for each tag are listed under each tag description. The attributes listed here are the core and language attributes that are standard for all tags (with a few exceptions).


Core Attributes

Not valid in base, head, html, meta, param, script, style, and title elements.

AttributeValueDescription
classclass_rule or style_ruleThe class of the element
idid_nameA unique id for the element
stylestyle_definitionAn inline style definition
titletooltip_text A text to display in a tool tip


Language Attributes

Not valid in base, br, frame, frameset, hr, iframe, param, and script elements.

AttributeValueDescription
dirltr | rtlSets the text direction
langlanguage_codeSets the language code


Keyboard Attributes

AttributeValueDescription
accesskeycharacterSets a keyboard shortcut to access an element
tabindexnumberSets the tab order of an element

Posted by solarview

2006/08/31 22:00 2006/08/31 22:00
,
Response
No Trackback , No Comment
RSS :
http://www.solarview.net/rss/response/62

Strict HTML 4.01로 가기 위한 지침서

Strict HTML 4.01로 가기 위한 지침서

  • 항상 모든 웹페이지는 DOCTYPE로 시작되어야 함
  • 바로 다음에 오는 <html> 엘리먼트는 웹 페이지의 최상위 혹은 루트 엘리먼트가 되어야 함
  • DOCTYPE다음에 오는 <html>태그로 페이지를 시작해서 </html>태그로 페이지를 끝내야 하며, <head>와 <body>만이 <html>엘리먼트 안에 들어갈 수 있음
  • <head>엘리먼트에는 <title>엘리먼트가 항상 있어야 함
  • <head>엘리먼트에 <title>, <meta>, <style>엘리먼트만 올 수 있음
  • <body>에는 블록 엘리먼트(block element)만 포함할 수 있음
  • 모든 인라인 엘리먼트(inline element)와 텍스트sms <body>엘리먼트 안에 들어가기 전에 다른 블록 엘리먼트 안으로 들어가야 함
  • 인라인 엘리먼트 안에는 텍스트와 다른 인라인 엘리먼트만 들어갈 수 있음
  • 인라인 엘리먼트 안에 블록 엘리먼트를 포함할 수 없음
  • <p>엘리먼트 안에 블록엘리먼트를 두면 안 됨
  • 리스트인 <ul>과 <ol> 엘리먼트 안에는 오직 <li>엘리먼트만 들어올 수 있음
  • <li>엘리먼트 안에는 무엇이든지 포함될 수 있음
  • <blockquote>는 오직 블록 엘리먼트만 포함될 수 있음

Posted by solarview

2006/08/31 21:59 2006/08/31 21:59
,
Response
No Trackback , No Comment
RSS :
http://www.solarview.net/rss/response/61

XHTML 1.0 체크리스트

XHTML 1.0 체크리스트

  • DOCTYPE을 Strict XHTML로 변경함. 또는 여전히 Transitional HTML을 사용하고 있다면 Transitional XHTML로 변경함
  • xmlns, lang, xml:lang속성을 <html>시작 태그에 추가함
  • <html>태그는 DOCTYPE 다음에 오는 맨 첫번째 태그가 되어야 하며, </html>종료태그는 가장 마지막 태그가 되어야 함
  • 모든 엘리먼트 이름들은 소문자로 작성되어야 함
  • 모든 시작 태그들은 종료 태그를 가져야 함. 또는 빈 엘리먼트의 경우 하나의 공백문자와 />로 끝나야 함
  • 모든 속성값들은 큰 따옴표로 둘러싸고 값을 가져야 함
  • HTML 콘텐츠에 &를 사용하지 말 것. &가 시작 엔티티를 위한 것이라면 대신 &amp를 사용할 것. 다른 특수 문자들도 엔티티로 변환함

Posted by solarview

2006/08/31 21:57 2006/08/31 21:57
Response
No Trackback , No Comment
RSS :
http://www.solarview.net/rss/response/60

HTML 4.01 / XHTML 1.0 Reference

Ordered by Function

  • NN: indicates the earliest version of Netscape that supports the tag
  • IE: indicates the earliest version of Internet Explorer that supports the tag
  • DTD: indicates in which XHTML 1.0 DTD the tag is allowed. S=Strict, T=Transitional, and F=Frameset 
Start tagPurposeNNIEDTD
Basic Tags
<!DOCTYPE> Defines the document typeSTF
<html>Defines an html document3.03.0STF
<body>Defines the body element3.03.0STF
<h1> to <h6>Defines header 1 to header 63.03.0STF
<p>Defines a paragraph3.03.0STF
<br>Inserts a single line break3.03.0STF
<hr>Defines a horizontal rule3.03.0STF
<!--...-->Defines a comment3.03.0STF
Char Format
<b>Defines bold text3.03.0STF
<font>Deprecated. Defines text font, size, and color3.03.0TF
<i>Defines italic text3.03.0STF
<em>Defines emphasized text 3.03.0STF
<big>Defines big text3.03.0STF
<strong>Defines strong text3.03.0STF
<small>Defines small text3.03.0STF
<sup>Defines superscripted text3.03.0STF
<sub>Defines subscripted text3.03.0STF
<bdo>Defines the direction of text display6.25.0STF
<u>Deprecated. Defines underlined text3.03.0TF
Output
<pre>Defines preformatted text3.03.0STF
<code>Defines computer code text3.03.0STF
<tt>Defines teletype text3.03.0STF
<kbd>Defines keyboard text3.03.0STF
<var>Defines a variable3.03.0STF
<dfn>Defines a definition term3.0STF
<samp>Defines sample computer code3.03.0STF
<xmp>Deprecated. Defines preformatted text3.03.0
Blocks
<acronym>Defines an acronym6.24.0STF
<abbr>Defines an abbreviation6.2STF
<address>Defines an address element4.04.0STF
<blockquote>Defines a long quotation3.03.0STF
<center>Deprecated. Defines centered text3.03.0TF
<q>Defines a short quotation6.24.0STF
<cite>Defines a citation3.03.0STF
<ins>Defines inserted text6.24.0STF
<del>Defines deleted text6.24.0STF
<s>Deprecated. Defines strikethrough text3.03.0TF
<strike>Deprecated. Defines strikethrough text3.03.0TF
Links
<a>Defines an anchor3.03.0STF
<link>Defines a resource reference 4.03.0STF
Frames
<frame>Defines a sub window (a frame)3.03.0F
<frameset>Defines a set of frames3.03.0F
<noframes>Defines a noframe section3.03.0TF
<iframe>Defines an inline sub window (frame)6.04.0TF
Input
<form>Defines a form 3.03.0STF
<input>Defines an input field3.03.0STF
<textarea>Defines a text area3.03.0STF
<button>Defines a push button6.24.0STF
<select>Defines a selectable list3.03.0STF
<optgroup>Defines an option group6.06.0STF
<option>Defines an item in a list box3.03.0STF
<label>Defines a label for a form control6.24.0STF
<fieldset>Defines a fieldset6.24.0STF
<legend>Defines a title in a fieldset6.24.0STF
<isindex>Deprecated. Defines a single-line input field3.03.0TF
Lists
<ul>Defines an unordered list3.03.0STF
<ol>Defines an ordered list3.03.0STF
<li>Defines a list item3.03.0STF
<dir>Deprecated. Defines a directory list3.03.0TF
<dl>Defines a definition list3.03.0STF
<dt>Defines a definition term3.03.0STF
<dd>Defines a definition description3.03.0STF
<menu>Deprecated. Defines a menu list3.03.0TF
Images
<img>Defines an image3.03.0STF
<map>Defines an image map 3.03.0STF
<area>Defines an area inside an image map3.03.0STF
Tables
<table>Defines a table3.03.0STF
<caption>Defines a table caption3.03.0STF
<th>Defines a table header3.03.0STF
<tr>Defines a table row3.03.0STF
<td>Defines a table cell3.03.0STF
<thead>Defines a table header4.0STF
<tbody>Defines a table body4.0STF
<tfoot>Defines a table footer4.0STF
<col>Defines attributes for table columns 3.0STF
<colgroup>Defines groups of table columns3.0STF
Styles
<style>Defines a style definition4.03.0STF
<div>Defines a section in a document3.03.0STF
<span>Defines a section in a document4.03.0STF
Meta Info
<head>Defines information about the document3.03.0STF
<title>Defines the document title3.03.0STF
<meta>Defines meta information3.03.0STF
<base>Defines a base URL for all the links in a page3.03.0STF
<basefont>Deprecated. Defines a base font3.03.0TF
Programming
<script>Defines a script3.03.0STF
<noscript>Defines a noscript section3.03.0STF
<applet>Deprecated. Defines an applet2.03.0TF
<object>Defines an embedded object3.0STF
<param>Defines a parameter for an object3.03.0STF

Posted by solarview

2006/08/31 21:55 2006/08/31 21:55
,
Response
No Trackback , No Comment
RSS :
http://www.solarview.net/rss/response/59

파워포인트로 포스터 프리젠테이션하기

학회 또는 전시회 등에서 자신의 논문이나 작품을 소개하기 위하여 포스터(또는 패널)을 전시하게 된다. 포스터를 위해서 포토샵, 일러스트레이터, 코렐드로우 등 여러 컴퓨터 그래픽 관련 프로그램을 사용하게 되나, 손쉽게는 파워포인트를 이용하여 제작할 수 있다.
파워포인트를 이용하여 포스터 제작하는 방법은 다음과 같다.

1. 파워포인트로 프로그램을 실행합니다.
슬라이드 구성 선택 중 디자인 서식파일에서 빈문서의 기본 디자인을 선택합니다.

2. 상단 메뉴중 '파일' -- '페이지 설정'을 클릭합니다.

3. '슬라이드 크기'는 '사용자 지정', '너비'는 90 cm(원하는 크키)로, '높이'는 120 cm(원하는 크기)로 변경합니다.
* 포스터의 한쪽 크기가 142.22 cm를 넘을 경우! - 비례로 계산해서 줄여서 작업해야 합니다.
->축소비율을 가로세로 모두 50%로 설정하여 작업하고, 출력시 200%확대해서 출력합니다.

4. 출력용 양식은 한 화면에서 한장의 파일로 만들어야 선명한 품질의 포스터를 만들 수 있습니다.

5. 먼저 제목, 배경, 방법, 결과, 결론 등에 해당되는 글상자 Box를 만들어 주어야 합니다.

6. 상단 메뉴의 '삽입' -- '텍스트 상자' -- '가로'를 클릭한 후 들어갈 내용을 감안하여 영역을 지정 합니다.

7. 각 텍스트 상자안에 내용을 입력하기 위해 상단 도구모음 줄의 크기를 키워서 (12 % 를 50 % 로 변경) 작업 합니다.

8. 제목 글씨 크기는 70 - 90 정도로 설정 합니다.
저자의 글씨크기는 40 - 50 정도로 설정 합니다.
본문내용 글씨 크기는 20 - 28 정도로 합니다.

9. 그림파일을 삽입할 경우 해당 그림 복사 후 원하는 위치에 붙여넣습니다.

출처: 웹포스터 http://webposter.co.kr/

참고할 만한 사이트는 다음과 같다.

[포스터 프리젠테이션을 위한 조언]
http://www.cmu.edu/identity/ 스타일 가이드
http://www.swarthmore.edu/NatSci/cpurrin1/posteradvice.htm
http://www.nursing.ufl.edu/ors/services.htm#temptips
http://www.uic.edu/pharmacy/faculty/powerpoint_poster_templates.htm
http://www.ices.cmu.edu/posters.html
http://miu.med.unsw.edu.au/downloads.htm#Scientific%20poster%20templates
http://www.osti.gov/em52/workshop/tips-exhibits.html
http://www.aspb.org/education/poster.cfm
http://www.ices.cmu.edu/ppt_templates.zip

Posted by solarview

2006/08/31 11:43 2006/08/31 11:43
,
Response
No Trackback , No Comment
RSS :
http://www.solarview.net/rss/response/50

굴림 vs 굴림체

코딩을 하면서 글꼴 설정할 때, 고정폭 글꼴을 사용하는 것이 좋다.
모든 문자의 폭이 일정하기 때문에, 각각의 문자가 수직으로 잘 정리되고 중복된 띄어쓰기를 쉽게 구분할 수 있다.
영문의 경우 : FixedSys 또는 Courier New를 선택하면 좋을 듯 (개인의 취향에 따라 달라짐)
국문의 경우 : 바탕체, 굴림체, 돋움체 등과 같이 그 끝이 '체'로 끝나는 글꼴

<참고>
가변폭 글꼴 : 굴림,    돋움,    바탕
고정폭 글꼴 : 굴림체, 돋움체, 바탕체

Posted by solarview

2006/08/26 22:25 2006/08/26 22:25
Response
No Trackback , No Comment
RSS :
http://www.solarview.net/rss/response/8

print$ 공유폴더 문제

print$(C:\WINDOWS\System32\spool\drivers) 관리목적 공유폴더는 여러대의 컴퓨터가 프린터를 공유해서 사용할 경우 프린터 설치를 위한 프린터 드라이버가 저장되어 있는 곳 입니다.
따라서, 공유를 해제한다고 해서 프린터를 사용할 수 없는 일은 발생하지 않습니다.

가정이나 개인용으로 사용하신다면 당연히 공유기능을 해제하거나 중지시키시기 바랍니다.

1. 먼저 자신의 컴퓨터 공유 폴더 상황 체크하기
[시작] →[실행] 창에서 fsmgmt.msc 입력 후 엔터 하시면 현재 공유폴더 상황이 공유폴더 창으로 나타나게 됩니다. (윈Xp)
참고 : 윈98 -> netwatch 명령어로 확인 가능함(윈도우 추가 설치 필요)

2. 필요없는 공유 설정 해제 하기
거기에서 공유를 해제하거나 중지하고 싶으실 경우,  오른쪽 마우스 클릭 -> [공유중지] 하시면 됩니다.
참고 : 윈도우 보안 설정 관련 레지스트리 설정하기(보안상 중요합니다. 확인하시기 바랍니다.)



[시작] - [실행] - regedit 입력 후 작업 시작! (단, 초보자분들은 권장 안함)

1. 원격 사용자의 CD-ROM, FDD 사용 조작 차단

HKLM/Software/Microsoft/WindowsNT/CurrentVersion/Winlogon 항목에
 → AllocateFloppies 값 추가, "1"로 set (데이터 형식 : REG_SZ)
 → AllocateCDRoms 의 값 추가, "1"로 set (데이터 형식 : REG_SZ)

2. 불필요한 관리 목적 공유 차단하기

HKLM/System/CurrentControlSet/Services/LanmanServer/Parameters 항목에
→ AutoShareServer (win2k의 경우 AutoShareWks) 항목을 REG_DWORD 형식으로 값 추가 후   "0" 으로 설정 // 관리자를 위한 숨겨진 공유가 필요없다면 disable 하는 기능

3. 외부에서 System으로의 모든 공유를 차단하되 System에서 외부로의 공유는 허용하기
 
 HKLM/System/CurrentControlSet/Services/LanmanServer 의 Start 항목을 "3"으로 set (default = 2)
HKLM/System/CurrentControlSet/Services/Browser 의 Start 항목을 "3"으로 set (default = 2)


4. Null 세션 차단하기(익명 사용자 접근 차단)
 HKLM/System/CurrentControlSet/ControlLSA  → RestrictAnonymous 값을 REG_DWORD 형식으로 하여 "1" 로 set

Posted by solarview

2006/08/21 22:27 2006/08/21 22:27
Response
No Trackback , No Comment
RSS :
http://www.solarview.net/rss/response/9