HTML space setting methods include: 1. Inline style; 2. Internal style sheet; 3. External style sheet; 4. Use margin and padding attributes. Detailed introduction: 1. Inline style, use the style attribute directly in the HTML element to set the CSS style; 2. 2. Internal style sheet, use the "