HTMLcheatsheet's profile picture. The most basic of all website programs, HTML. Learn, study, reference, build, create, design.

HTML cheatsheet

@HTMLcheatsheet

The most basic of all website programs, HTML. Learn, study, reference, build, create, design.

<hr /> Inserts a horizontal rule


Cont. from last tweet --> . <option> Sets off each menu item


<select multiple name="NAME" size=?></select> Creates a scrolling menu. Size sets the number of menu items visible before you need to scroll


<select name="NAME"></select> Creates a pulldown menu <option> Sets off each menu item


<textarea name="NAME" cols=40 rows=8></textarea name> Creates a text box area. Columns set the width; rows set the height.


<input type="text" name="NAME" size=20> Creates a one-line text area. Size sets length, in characters.


<input type="radio" name="NAME" value="x"> Creates a radio button. Text follows tag


<input type="reset"> Creates a Reset button


<input type="checkbox" name="NAME"> Creates a checkbox. Text follows tag.


<button type="submit">Submit</button> Creates an actual button that is clicked


<blockquote></blockquote> Indents text from both sides


<br> Inserts a line break


<p align="left"> Aligns a paragraph to the left (default), right, or center.


<p></p> Creates a new paragraph


For example, <a href="mailto:[email protected]">Email Me!</a>


<a href="mailto:EMAIL"></a> Creates a mailto link


To link text: <a href="url">Link text</a> --> For example, <a href="w3schools.com">Visit W3Schools</a>


<font color="green"></font> Sets font color, using name or hex value


<font size="3"></font> Sets size of font, from 1 to 7


<strong></strong> Emphasizes a word (with bold)


Loading...

Something went wrong.


Something went wrong.